Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,655
» Latest member: niubi
» Forum threads: 2,346
» Forum posts: 12,287

Full Statistics

Online Users
There are currently 207 online users.
» 0 Member(s) | 204 Guest(s)
Google, Bing, DuckDuckGo

Latest Threads
Ultimate Roleplay!!
Forum: Advertisements
Last Post: URP_Wrzosek
Yesterday, 09:43 AM
» Replies: 2
» Views: 62
samp openmp scripts
Forum: German/Deutsch
Last Post: pauli
2025-11-01, 01:21 AM
» Replies: 0
» Views: 53
YGG-Reborn
Forum: Advertisements
Last Post: Mw10
2025-10-31, 08:12 AM
» Replies: 0
» Views: 58
[GameMode] Brasil Vida Id...
Forum: Portuguese/Portugu?s
Last Post: Brasil Vida Ideal
2025-10-31, 01:12 AM
» Replies: 0
» Views: 48
Grand Gang War (GGW)
Forum: Advertisements
Last Post: coladaciren
2025-10-30, 10:00 AM
» Replies: 0
» Views: 52
undefined symbol
Forum: Portuguese/Portugu?s
Last Post: leobradoks
2025-10-25, 08:58 PM
» Replies: 1
» Views: 1,618
SA:MP Custom Character Li...
Forum: General Discussions
Last Post: Dilshad
2025-10-22, 04:15 PM
» Replies: 0
» Views: 103
Anyone got old rp scripts...
Forum: General Discussions
Last Post: Bilal
2025-10-21, 01:02 PM
» Replies: 5
» Views: 5,329
Anyone has the SARP Gamem...
Forum: Gamemodes
Last Post: Bilal
2025-10-21, 12:59 PM
» Replies: 0
» Views: 169
SARP Gamemode
Forum: Releases
Last Post: Bilal
2025-10-21, 12:58 PM
» Replies: 0
» Views: 108

 
  the place where i post my maps so you kind people can state your opinion about it
Posted by: ronfino - 2019-06-06, 05:01 AM - Forum: Videos and Screenshots - Replies (18)

I usually use Texture Studio to map



Discord:?ronfino#6480

Condominium

[Image: sa-mp-015.png]

[Image: sa-mp-016.png]

[Image: sa-mp-017.png]

[Image: sa-mp-018.png]

[Image: sa-mp-024.png]

[Image: sa-mp-019.png]

[Image: sa-mp-020.png]

[Image: sa-mp-021.png]

[Image: sa-mp-022.png]

[Image: sa-mp-023.png]


  [MAP] Condominium
Posted by: ronfino - 2019-06-06, 04:59 AM - Forum: Filterscripts - Replies (7)

first time i release a map, tell me what you think

[Image: sa-mp-015.png]

[Image: sa-mp-016.png]

[Image: sa-mp-017.png]

[Image: sa-mp-018.png]

[Image: sa-mp-024.png]

[Image: sa-mp-019.png]

[Image: sa-mp-020.png]

[Image: sa-mp-021.png]

[Image: sa-mp-022.png]

[Image: sa-mp-023.png]



Coords: 2210.61, 1866.45, -68.63




Code:
//Map Exported with Texture Studio By: [uL]Pottus////////////////////////////////////////////////////////////////

//////////////////////////////////////////////and Crayder////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////



//Map Information////////////////////////////////////////////////////////////////////////////////////////////////

/*

Exported on "2019-06-06 06:33:19" by "ronfino"

Created by "ronfino"

*/

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////



//Objects////////////////////////////////////////////////////////////////////////////////////////////////////////

new tmpobjid;

tmpobjid = CreateDynamicObject(19377, 2214.208740, 1862.148071, -69.721466, 0.000000, -90.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 3980, "cityhall_lan", "man_cellarfloor128", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2208.884033, 1862.148071, -67.895538, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2212.416259, 1865.659790, -67.895538, 0.000000, 0.000007, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2213.775390, 1857.247802, -67.895538, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2217.144531, 1860.758911, -67.895538, -0.000007, 0.000000, -89.999977, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2217.144531, 1859.027832, -67.895538, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2213.794921, 1863.898071, -67.895538, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19377, 2211.875244, 1854.147094, -62.558506, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 3980, "cityhall_lan", "man_cellarfloor128", 0x00000000);

tmpobjid = CreateDynamicObject(1522, 2209.895263, 1866.904541, -69.635528, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "ws_wood_doors2", 0x00000000);

tmpobjid = CreateDynamicObject(14409, 2215.305419, 1856.916870, -69.325469, 0.000007, -0.000000, 89.999977, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 1, 5133, "coast_las2", "greyground256sand", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2213.775390, 1866.939697, -67.895538, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19377, 2222.375976, 1854.147094, -66.228424, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 3980, "cityhall_lan", "man_cellarfloor128", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2215.296142, 1857.247802, -64.395599, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2218.115478, 1859.027832, -64.395599, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19377, 2208.453857, 1862.148071, -66.057525, 0.000000, -90.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 7555, "bballcpark1", "backstageceiling1_128", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2220.024414, 1852.341430, -64.389511, -0.000000, -0.000007, -179.999954, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2223.006591, 1854.133178, -64.389511, -0.000000, -0.000007, -179.999954, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19377, 2222.375976, 1844.514038, -66.228424, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 3980, "cityhall_lan", "man_cellarfloor128", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2220.024414, 1842.707641, -64.389511, -0.000000, -0.000015, -179.999908, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2223.006591, 1844.498413, -64.389511, -0.000000, -0.000015, -179.999908, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2223.006591, 1839.678955, -64.389511, -0.000007, -0.000007, -89.999916, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19455, 2213.616210, 1857.247802, -64.395599, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2222.927978, 1855.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19377, 2222.375976, 1854.147094, -62.558506, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 7555, "bballcpark1", "backstageceiling1_128", 0x00000000);

tmpobjid = CreateDynamicObject(19377, 2222.375976, 1844.514038, -62.558506, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 7555, "bballcpark1", "backstageceiling1_128", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2220.106445, 1855.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2222.927978, 1852.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2220.106445, 1852.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2222.927978, 1849.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2220.106445, 1849.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2222.927978, 1846.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2220.106445, 1846.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2222.927978, 1843.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2220.106445, 1843.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19860, 2213.728515, 1860.643066, -68.395614, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "des_backdoor1", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2222.258056, 1839.757568, -64.902595, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19858, 2222.927978, 1858.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);

tmpobjid = CreateDynamicObject(19921, 2211.830566, 1861.536254, -69.535499, 0.000000, 0.000000, -79.699943, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 1259, "billbrd", "bluemetal02", 0x00000000);

tmpobjid = CreateDynamicObject(2076, 2210.746826, 1863.152099, -66.245376, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

SetDynamicObjectMaterial(tmpobjid, 0, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);

SetDynamicObjectMaterial(tmpobjid, 1, 1408, "break_fence1", "compfence2_LAe", 0x00000000);

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

tmpobjid = CreateDynamicObject(2007, 2209.014648, 1858.661621, -68.895484, 0.000000, 0.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2007, 2209.014648, 1859.642456, -68.895484, 0.000000, 0.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1778, 2212.187744, 1861.077026, -69.635528, 0.000000, 0.000000, -34.700000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2852, 2222.437011, 1858.462524, -66.142486, 0.000000, 0.000000, -22.000003, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(19826, 2212.331542, 1862.847290, -68.275505, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1620, 2212.316162, 1864.909545, -66.875595, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1620, 2221.460693, 1852.968750, -62.652557, 0.000000, -90.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1620, 2221.460693, 1848.968750, -62.652557, 0.000000, -90.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1620, 2221.460693, 1844.968750, -62.652557, 0.000000, -90.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2961, 2221.174316, 1858.941528, -64.702491, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(3027, 2220.629394, 1850.110107, -66.132484, 0.000000, -90.000000, 29.100000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2372, 2212.533935, 1856.379760, -68.017120, 30.000000, -90.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2372, 2214.371826, 1856.379760, -66.957069, 30.000000, -90.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1624, 2208.507568, 1863.210815, -67.945480, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(927, 2208.960693, 1864.419189, -67.385719, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1630, 2208.973632, 1865.527832, -68.975624, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(938, 2221.461669, 1855.633300, -62.792575, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(938, 2221.461669, 1850.853515, -62.792575, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(938, 2221.461669, 1846.853515, -62.792575, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(938, 2221.461669, 1842.853515, -62.792575, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1265, 2220.584716, 1852.724487, -65.702484, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2674, 2222.299316, 1849.615478, -66.132484, 0.000000, 0.000000, 54.400028, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2671, 2221.473144, 1843.005981, -66.142486, 0.000000, 0.000000, 87.800018, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2673, 2210.171142, 1857.558471, -69.545509, 0.000000, 0.000000, 148.299987, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2653, 2215.324218, 1860.157470, -63.302543, 0.000000, -180.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2649, 2213.761718, 1858.149658, -63.792499, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(2244, 2212.089111, 1864.227050, -69.365470, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1731, 2215.292480, 1858.779418, -65.258430, 0.000000, 0.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?

tmpobjid = CreateDynamicObject(1735, 2209.480712, 1861.371459, -69.635528, 0.000000, 0.000000, 99.700050, -1, -1, -1, 800.00, 800.00);?


  Open Game Panel - Problem
Posted by: Sean17 - 2019-06-06, 03:48 AM - Forum: Support - Replies (3)

IDK if this is the right board for this but sorry in advance



So I was hosting my Att/Def GM in Ultra-H and it's working well. When I transfer all my files to OGP the server crash always. I tried using the default grandlarc and it showed this



Code:
Unable to start server on port: 7780. Port in use?





I don't know how to fix this. I tried changing the port in Server Config but after restart the port will go back to 7780.



BTW The error on the Att/Def Gamemode is this



Code:
[16:32:50] [debug] Server crashed due to an unknown error

[16:32:50] [debug] Native backtrace:

[16:32:50] [debug] #0 f21a7180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so

[16:32:50] [debug] #1 f219f064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so

[16:32:50] [debug] #2 f219fd64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so

[16:32:50] [debug] #3 f21a1cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so

[16:32:50] [debug] #4 f21a64d5 in ?? () from plugins/crashdetect.so

[16:32:50] [debug] #5 f25bd410 in ?? ()

[16:32:50] [debug] #6 080a1145 in ?? () from ./samp03svr

[16:32:50] [debug] #7 080ab601 in ?? () from ./samp03svr

[16:32:50] [debug] #8 080aba0b in ?? () from ./samp03svr

[16:32:50] [debug] #9 080aa0fd in ?? () from ./samp03svr

[16:32:50] [debug] #10 f21e7637 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6

[16:32:50] [debug] #11 0804b4e1 in ?? () from ./samp03svr

[16:32:50] [debug] Registers:

[16:32:50] [debug] EAX: 0000001b EBX: 0ad665f8 ECX: 7fffffe8 EDX: 00000000

[16:32:50] [debug] ESI: 00000000 EDI: 00000000 EBP: fdc9b308 ESP: fdc9b1d0

[16:32:50] [debug] EIP: 080a1145 EFLAGS: 00010246

[16:32:50] [debug] Stack:

[16:32:50] [debug] ESP퍍㓓䴴: fdc9b1f0 081594f5 0ad665f8 f22ae13b


  Post your fav reddit community!
Posted by: Pinch - 2019-06-05, 10:17 PM - Forum: Chat - Replies (1)

r/whoosh


Question Duda con guardado.
Posted by: Mister - 2019-06-05, 06:54 PM - Forum: Programaci?n - Replies (3)

?Se puede usar PostgreSQL para guardar datos de mi servidor?


Wink Looking for scripters/helpers/mappers? post here!
Posted by: iLearner - 2019-06-05, 05:13 AM - Forum: General Discussions - Replies (13)

Hello!

if you're in need of scripters, mappers, helpers or even administrators for your server, you may post in this thread. you may also post here if you're offering?scripting / mapping services.

before posting please make sure you read the following rules to keep everything civil.

  • You must wait 24 hours before bumping your post.?
  • do not double post! use edit instead.
  • do not post troll posts, only post if you're really looking for whatever you say you're looking for.?
  • leave your contact information within your post and continue the discussion in private, this is not a discussion thread.
  • do not post here just to waste someone's time, post only if you're serious.
I've stated above the common rules I could think of, if any Moderator wishes to edit the thread and add/remove any of those, they're welcome.


  [Showcase/Mapp] Judge of Los Santos
Posted by: Apex - 2019-06-03, 03:14 AM - Forum: Videos and Screenshots - Replies (4)

The mapp are not finished





[Image: sa-mp-056.png]

[Image: sa-mp-057.png]

[Image: sa-mp-058.png]

[Image: sa-mp-059.png]

[Image: sa-mp-060.png]

[Image: sa-mp-061.png]

[Image: sa-mp-062.png]

[Image: sa-mp-063.png]

[Image: sa-mp-064.png]


[Image: sa-mp-065.png]

[Image: sa-mp-066.png]

[Image: sa-mp-067.png]

[Image: sa-mp-068.png]


  y_hooks 4 - Hook callbacks, functions, and natives.
Posted by: Y_Less - 2019-06-02, 09:14 PM - Forum: Libraries - Replies (9)

Introduction



After some discussion recently, I have finally gotten around to updating y_hooks. You can now hook callbacks (publics), functions (your own code), and natives! The full documentation is on github:



https://github.com/pawn-lang/YSI-Includes/tree/5.x



But in short, there are three types of hooks: original, callback, and function.



Original



Originals are still the fastest (faster even than a normal function call) and simplest, but can only hook publics:



PHP Code:
#include <YSI_Coding\y_hooks>



hook OnPlayerConnect(playerid)

{

    
SendClientMessage(playeridCOLOUR_GREETING"Welcome!");





The system will call each hook of a public in the order they are declared. When one ends the next starts. There is a way to stop the chain entirely, such that no more hooks are called, but this is all the control given. These can hook callbacks that don't even exist, you don't need `public OnPlayerConnect` anywhere in code for this example to work.



Function



A function hook hooks a function - i.e. something called within the script. This includes pawn functions and natives:



PHP Code:
#include <YSI_Coding\y_hooks>



hook function SetPlayerPos(playeridFloat:xFloat:yFloat:z)

{

    return continue(
playeridxyz  0.1);





Every time `SetPlayerPos` is used in the script, this hook will be called first. `continue` is an explicit call to the next function in the chain - this may be another hook or the original code (a native in this case).



Callback



A callback hook combines the hooking of callbacks from original hooks with the explicit chaining of function hooks:



PHP Code:
#include <YSI_Coding\y_hooks>



hook callback OnPlayerConnect(playerid)

{

    
SendClientMessage(playeridCOLOUR_GREETING"Welcome!");

    return continue(
playerid);





Note that I haven't ACTUALLY written this last one 1yet.


  Gang Commands Script to a Filter Script
Posted by: Sean17 - 2019-06-02, 03:47 PM - Forum: Pawn Scripting - Replies (4)

Hello, I need help on how to make a gang command script to a filter script.?



I have this group command script from a friend which is this

Code:
new AsLActivity[MAX_PLAYERS];

CMD:aslmembers(playerid,params[])

{

? ?#pragma unused params

? ?new count = 0;

? ?new string[128];

? ?new ChangeColor;

? ?new ASLR[128];

? ?new AsLDuty[128];

? ?if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");

? ?SendClientMessage(playerid, 0xFF0000AA, " ");

? ?SendClientMessage(playerid, 0x00FFFFAA, "__________ |- Online AsL Members -| __________");

? ?SendClientMessage(playerid, 0xFF0000AA, " ");

? ?for(new i = 0; i < MAX_PLAYERS; i)

? ?{

? ? ? ?if(!IsPlayerConnected(i)) continue;

? ? ? ?if(PlayerInfo[i][LoggedIn] == 0) continue;

? ? ? ?if(PlayerInfo[i][ASL] == 0) continue;



? ? ? ?if(PlayerInfo[i][ASL] == 1) { ASLR = "Recruit"; ChangeColor = 0x858483FF; }

? ? ? ?if(PlayerInfo[i][ASL] == 2) { ASLR = "Initiate"; ChangeColor = 0x864e25FF; }

? ? ? ?if(PlayerInfo[i][ASL] == 3) { ASLR = "Apprentice"; ChangeColor = 0xf6b210FF; }

if(PlayerInfo[i][ASL] == 4) { ASLR = "Footpad"; ChangeColor = 0xf6ee10FF; }

if(PlayerInfo[i][ASL] == 5) { ASLR = "Mercenary"; ChangeColor = 0xc6c434FF; }

if(PlayerInfo[i][ASL] == 6) { ASLR = "Gladiator"; ChangeColor = 0x9be32aFF; }

if(PlayerInfo[i][ASL] == 7) { ASLR = "Warrior"; ChangeColor = 0x26e32fFF; }

if(PlayerInfo[i][ASL] == 8) { ASLR = "Templar"; ChangeColor = 0x26d8e3FF; }

if(PlayerInfo[i][ASL] == 9) { ASLR = "Mentor"; ChangeColor = 0x9526e3FF; }

if(PlayerInfo[i][ASL] == 10) { ASLR = "Leader Assassin"; ChangeColor = 0x266de3FF; }

if(PlayerInfo[i][ASL] == 11) { ASLR = "Master Assassin"; ChangeColor = 0xff0000FF; }



? ? ? ?if(AsLActivity[i] == 0) AsLDuty = "{00FFFF}- Playing!";

if(AsLActivity[i] == 1) AsLDuty = "{FF0000}- AFK";



? ? ? ?format(string, 128, "Rank: %d - %s (Id:%i) | %s %s",PlayerInfo[i][ASL], PlayerName2(i),i,ASLR, AsLDuty);

? ? ? ?SendClientMessage(playerid, ChangeColor, string);

? ? ? ?count;

? ?}

? ?if (count == 0) SendClientMessage(playerid,0xFF0000AA,"No one is online from Assassin's Legion Crew");

? ?SendClientMessage(playerid, 0x00FFFFAA, "___________________________________________");

? ?return 1;

}



CMD:aslafk(playerid,params[]) {

#pragma unused params

if(PlayerInfo[playerid][ASL] >= 1) {

new string[256],kuldoneve[MAX_PLAYER_NAME];

SendClientMessage(playerid,-1,"{33FF33}Type {FF0000}/aslback {33FF33}When You Back.");

GameTextForPlayer(playerid,"~r~ You are now AFK", 6000, 1);

TogglePlayerControllable(playerid, 0);

GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));

if(PlayerInfo[playerid][ASL] == 1)

format(string, sizeof(string), "{858483}[AsL]Recruit {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 2)

format(string, sizeof(string), "{864e25}[AsL]Initiate {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 3)

format(string, sizeof(string), "{f6b210}[AsL]Apprentice {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 4)

format(string, sizeof(string), "{f6ee10}[AsL]Footpad {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 5)

format(string, sizeof(string), "{c6c434}[AsL]Mercenary {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 6)

format(string, sizeof(string), "{9be32a}[AsL]Gladiator {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 7)

format(string, sizeof(string), "{26e32f}[AsL]Warrior {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 8)

format(string, sizeof(string), "{6d8e3}[AsL]Templar {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 9)

format(string, sizeof(string), "{9526e3}[AsL]Mentor {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 10)

format(string, sizeof(string), "{266de3}[AsL]Leader Assassin {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 11)

format(string, sizeof(string), "{ff0000}[AsL]Master Assassin {375FFF}%s Is Now Away From The Keyboard!",kuldoneve, playerid);

SendClientMessageToAll(-1, string);

AsLActivity[playerid] = 1;

? CMDMessageToASL(playerid, "AsLAfk");

} else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be AsL Member to use this command", "OK", "Cancel");

return 1;}



CMD:aslback(playerid,params[]) {

#pragma unused params

if(PlayerInfo[playerid][ASL] >= 1) {

new string[256],kuldoneve[MAX_PLAYER_NAME];

GameTextForPlayer(playerid,"~b~ Welcome Back", 6000, 1);

TogglePlayerControllable(playerid, 1);

GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));

if(PlayerInfo[playerid][ASL] == 1)

format(string, sizeof(string), "{858483}[AsL]Recruit {375FFF}%s Now Back!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 2)

format(string, sizeof(string), "{864e25}[AsL]Initiate {375FFF}%s Now Back!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 3)

format(string, sizeof(string), "{f6b210}[AsL]Apprentice {375FFF}%s Now Back!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 4)

format(string, sizeof(string), "{f6ee10}[AsL]Footpad {375FFF}%s Now Back!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 5)

format(string, sizeof(string), "{c6c434}[AsL]Mercenary {375FFF}%s Now Back!",kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 6)

format(string, sizeof(string), "{9be32a}[AsL]Gladiator {375FFF}%s Now Back!", kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 7)

format(string, sizeof(string), "{26e32f}[AsL]Warrior {375FFF}%s Now Back!", kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 8)

format(string, sizeof(string), "{6d8e3}[AsL]Templar {375FFF}%s Now Back!", kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 9)

format(string, sizeof(string), "{9526e3}[AsL]Mentor {375FFF}%s Now Back!", kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 10)

format(string, sizeof(string), "{266de3}[AsL]Leader Assassin {375FFF}%s Now Back!", kuldoneve, playerid);

if(PlayerInfo[playerid][ASL] == 11)

format(string, sizeof(string), "{ff0000}[AsL]Master Assassin {375FFF}%s Now Back!", kuldoneve, playerid);

SendClientMessageToAll(-1, string);

AsLActivity[playerid] = 0;

? CMDMessageToASL(playerid, "AsLBack");

} else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be AsL Member to use this command", "OK", "Cancel");

return 1;}



CMD:aslsay(playerid,params[]) {

#pragma unused params

if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /aslsay [text]");

if(PlayerInfo[playerid][ASL] == 1) {

new string[128]; format(string, sizeof(string), "***[AsL]Recruit (Rank:1) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else if(PlayerInfo[playerid][ASL] == 2) {

new string[128]; format(string, sizeof(string), "***[AsL]Initiate (Rank:2) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else if(PlayerInfo[playerid][ASL] == 3) {

new string[128]; format(string, sizeof(string), "***[AsL]Apprentice (Rank:3) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else if(PlayerInfo[playerid][ASL] == 4) {

new string[128]; format(string, sizeof(string), "***[AsL]Footpad (Rank:4) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else if(PlayerInfo[playerid][ASL] == 5) {

new string[128]; format(string, sizeof(string), "***[AsL]Mercenary (Rank:5) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else if(PlayerInfo[playerid][ASL] == 6) {

new string[128]; format(string, sizeof(string), "***[AsL]Gladiator (Rank:6) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else if(PlayerInfo[playerid][ASL] == 7) {

new string[128]; format(string, sizeof(string), "***[AsL]Warrior (Rank:7) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else if(PlayerInfo[playerid][ASL] == 8) {

new string[128]; format(string, sizeof(string), "***[AsL]Templar (Rank:8) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else if(PlayerInfo[playerid][ASL] == 9) {

new string[128]; format(string, sizeof(string), "***[AsL]Mentor (Rank:9) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else if(PlayerInfo[playerid][ASL] == 10) {

new string[128]; format(string, sizeof(string), "***[AsL]Leader Assassin (Rank:10) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

} else if(PlayerInfo[playerid][ASL] == 11) {

new string[128]; format(string, sizeof(string), "***[AsL]Master Assassin (Rank:11) %s: {00FF00}%s", PlayerName2(playerid), params[0] );

return SendClientMessageToAll(0x375FFFAA,string);

? ?} else return ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"ERROR","You need to be a AsL Member to use this command","Okay","Cancel");

}



CMD:settempasl(playerid,params[]) {

? ? ? ?if(PlayerInfo[playerid][LoggedIn] == 1) {

? ? ? ?if(PlayerInfo[playerid][ASL] >= 9 || IsPlayerAdmin(playerid)) {

? ? ? ? ? ? ? ? ? ? ? ?new tmp[128], tmp2[128], Index; ? ? ? ? ? ? tmp = strtok(params,Index), tmp2 = strtok(params,Index);

? ? ? ? ? ? ? ? ? ? ? ?if(isnull(tmp) || isnull(tmp2)) return SendClientMessage(playerid, red, "USAGE: /settempasl [playerid] [level]");

? ? ? ? ? ? ? ? ? ? ? ?new player1, level, string[128];

? ? ? ? ? ? ? ? ? ? ? ?player1 = strval(tmp);

? ? ? ? ? ? ? ? ? ? ? ?level = strval(tmp2);



? ? ? ? ? ? ? ? ? ? ? ?if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {

? ? ? ? ? ? ? ? ? ? ? ?if(PlayerInfo[player1][LoggedIn] == 1) {

? ? ? ? ? ? ? ? ? ? ? ?if(level > 11 ) return SendClientMessage(playerid,red,"ERROR: Incorrect Rank");

? ? ? ? ? ? ? ? ? ? ? ?if(level == PlayerInfo[player1][ASL]) return SendClientMessage(playerid,red,"ERROR: Player is already this Rank");

? ? ? ? ? ? ? ? ? ? ? ?CMDMessageToASL(playerid,"SETTEMPASL");

? ? ? ? ? ? ? ? ? ? ? ?new year,month,day; getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second);



? ? ? ? ? ? ? ? ? ? ? ?if(level > 0) format(string,sizeof(string),"|- AsL Leader %s has Temporarily set you AsL Rank Status | Rank: %d - %s -|", pName(playerid), level);

? ? ? ? ? ? ? ? ? ? ? ?else format(string,sizeof(string),"|- AsL Leader %s has temporarily set you to Player Status | Rank: %d -|", pName(playerid), level);

? ? ? ? ? ? ? ? ? ? ? ?SendClientMessage(player1,blue,string);



? ? ? ? ? ? ? ? ? ? ? ?if(level > PlayerInfo[player1][ASL]) GameTextForPlayer(player1,"ASL RANK Promoted", 2000, 3);

? ? ? ? ? ? ? ? ? ? ? ?else GameTextForPlayer(player1,"ASL RANK Demoted", 2000, 3);



? ? ? ? ? ? ? ? ? ? ? ?format(string,sizeof(string),"|- You have given %s Temp ASL Rank %d on '%d/%d/%d' at '%d:%d:%d' -|", pName(player1), level, day, month, year, hour, minute, second); SendClientMessage(playerid,blue,string);

? ? ? ? ? ? ? ? ? ? ? ?format(string,sizeof(string),"Administrator %s has made %s temp ASL Rank %d on %d/%d/%d at %d:%d:%d",pName(playerid), pName(player1), level, day, month, year, hour, minute, second);

? ? ? ? ? ? ? ? ? ? ? ?SaveToFile("TempAdminLog",string);

? ? ? ? ? ? ? ? ? ? ? ?PlayerInfo[player1][ASL] = level;

? ? ? ? ? ? ? ? ? ? ? ?return PlayerPlaySound(player1,1057,0.0,0.0,0.0);

? ? ? ? ? ? ? ? ? ? ? ?} else return SendClientMessage(playerid,red,"ERROR: Player must be registered and logged in to be admin");

? ? ? ? ? ? ? ? ? ? ? ?} else return SendClientMessage(playerid, red, "Player is not connected");

? ? ? ? ? ? ? ?} else return SendClientMessage(playerid,red,"Error:You need to be AsL rank 9 to use this command");

? ? ? ?} else return SendClientMessage(playerid,red,"ERROR: You must be logged in to use this commands");

}



CMD:aslm(playerid, params[]) {

new string[128];

if(PlayerInfo[playerid][ASL] < 9) return SendClientMessage(playerid,red,"ERROR: You need to be AsL Managament to use this command");

if(isnull(params)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /aslm [text]"); {

if(PlayerInfo[playerid][ASL] == 11)

format(string, sizeof(string), "{FF0000}[AsL Manager] - {FF0000}Master Assassin %s: {00FFFF}%s", PlayerName2(playerid), params[0] );

if(PlayerInfo[playerid][ASL] == 10)

format(string, sizeof(string), "{FF0000}[AsL Manager] - {FF0000}Leader Assassin %s: {00FFFF}%s", PlayerName2(playerid), params[0] );

if(PlayerInfo[playerid][ASL] == 9)

format(string, sizeof(string), "{FF0000}[AsL Manager] - {FF0000}Mentor %s: {00FFFF}%s", PlayerName2(playerid), params[0] );

for(new i, j = GetMaxPlayers(); i < j; i)

{

? ?if(!IsPlayerConnected(i)) continue;

? ? if(PlayerInfo[i][ASL] < 9) continue;

? ? SendClientMessage(i, -1, string);

}

}

return 1;

}





CMD:asl(playerid,params[]) {

? ?#pragma unused params

if(PlayerInfo[playerid][LoggedIn] == 1) {

? if(PlayerInfo[playerid][ASL] >= 1) {

? ? ? ?new string[128];

? ?if(PlayerInfo[playerid][ASL] == 11)

? ?format(string, sizeof(string), "{ff0000}[AsL - Master Assasin]{ff0000}%s: %s", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 10)

? ?format(string, sizeof(string), "{266de3}[AsL - Leader Assasin]{266de3}%s: %s", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 9)

? ?format(string, sizeof(string), "{9526e3}[AsL - Mentor]{9526e3}%s: %ss", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 8)

? ?format(string, sizeof(string), "{26d8e3}[AsL - Templar]{26d8e3}%s: %s", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 7)

? ?format(string, sizeof(string), "{26e32f}[AsL - Warrior]{26e32f}%s: %s", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 6)

? ?format(string, sizeof(string), "{9be32a}[AsL - Gladiator]{9be32a}%s: %s", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 5)

? ?format(string, sizeof(string), "{c6c434}[AsL - Mercenary]{c6c434}%s: %s", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 4)

? ?format(string, sizeof(string), "{f6ee10}[AsL - FootPad]{f6ee10}%s: %s", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 3)

? ?format(string, sizeof(string), "{f6b210}[AsL - Apprentice]{f6b210}%s: %s", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 2)

? ?format(string, sizeof(string), "{864e25}[AsL - Initiate]{864e25}%s: %s", PlayerName2(playerid), params[0] );

? ?if(PlayerInfo[playerid][ASL] == 1)

? ?format(string, sizeof(string), "{858483}[AsL - Recruit]|-%s-|{858483}%s: %s", PlayerName2(playerid), params[0] );

? ? ? ?MessageToASL(blue,string);

? ?} else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"{17FA02}Assassin's Leagion", "You need to be higher AsL Level to use this command", "OK", "");

? ?} else return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");

? ?return 1;

}

CMD:osetasl(playerid,params[])

{

? ?if(PlayerInfo[playerid][ASL] < 9 ) return ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"ERROR","You need to be  level AsL Member to use this command","OK","");

{

new file[256],string[120];

? ?new tmp[128], tmp2[128], Index; tmp = strtok(params,Index), tmp2 = strtok(params,Index);

? ?if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /osetasl [name] [level]");

? ?if(isnull(tmp2)) return SendClientMessage(playerid, red, "ERROR: You must input a level");

? ?if(strval(tmp2) > 11) return SendClientMessage(playerid, red, "ERROR: Max AsL Rank is 12");

? ?format(file,sizeof(file),"/ladmin/users/%s.sav",udb_encode(tmp));

? ?if(!fexist(file)) return SendClientMessage(playerid, red, "ERROR: that account don't even exist!");

? ?dini_Set(file,"ASL",tmp2);

? ?new year,month,day; ? getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second);

? ?format(string,sizeof(string),"You have set %s's AsL level to %s on %d/%d/%d at %d:%d:%d",tmp,tmp2 ,day, month, year, hour, minute, second );

? ?SendClientMessage(playerid,0x00FFFFAA,string);

? ?CMDMessageToASL(playerid, "OSETASL");

? ?}

? ?return 1;

}



CMD:setasl(playerid,params[]) {

if(PlayerInfo[playerid][LoggedIn] == 1) {

if(PlayerInfo[playerid][ASL] >= 9 || IsPlayerAdmin(playerid)) {

? ?new tmp[128], tmp2[128], Index; tmp = strtok(params,Index), tmp2 = strtok(params,Index);

? ?if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /setasl [playerid] [Rank]");

? ? new player1, level, playername[MAX_PLAYER_NAME], adminname[MAX_PLAYER_NAME], string[128];

player1 = strval(tmp);

if(isnull(tmp2)) return SendClientMessage(playerid, red, "USAGE: /setasl [playerid] [Rank]");

level = strval(tmp2);



if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {

if(PlayerInfo[player1][LoggedIn] == 1) {

if(level > 11 ) return SendClientMessage(playerid,red,"ERROR: Incorrect Rank");

if(level == PlayerInfo[player1][ASL]) return SendClientMessage(playerid,red,"ERROR: Player is already this Rank");

? ? ? MessageToAdmins(playerid,"SETASL"); CMDMessageToASL(playerid, "SETASL");

GetPlayerName(player1, playername, sizeof(playername)); GetPlayerName(playerid, adminname, sizeof(adminname));

? ? ? new year,month,day; ? getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second);



if(level > 0) format(string,sizeof(string),"|- ASL leader %s has set you to AsL Member Rank Status | Rank: %d - %s -|",adminname, level);

else format(string,sizeof(string),"|- ASL leader %s has set you to AsL Member Rank Status | Rank: %d -|",adminname, level);

SendClientMessage(player1,blue,string);



if(level > PlayerInfo[player1][ASL]) GameTextForPlayer(player1,"~g~ASL Rank Promoted", 2000, 3);

else GameTextForPlayer(player1,"~g~ASL Rank Demoted", 2000, 3);



format(string,sizeof(string),"You have made %s Rank %d on %d/%d/%d at %d:%d:%d", playername, level, day, month, year, hour, minute, second); SendClientMessage(playerid,blue,string);

format(string,sizeof(string),"ASL leader %s has made %s Rank %d on %d/%d/%d at %d:%d:%d",adminname, playername, level, day, month, year, hour, minute, second);

SaveToFile("ASLMembersLog",string);

dUserSetINT(PlayerName2(player1)).("ASL",(level));

PlayerInfo[player1][ASL] = level;

return PlayerPlaySound(player1,1057,0.0,0.0,0.0);

} else return SendClientMessage(playerid,red,"ERROR: Player must be registered and logged in to be AsL Member");

} else return SendClientMessage(playerid, red, "Player is not connected");

} else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");

} else return SendClientMessage(playerid,red,"ERROR: You must be logged in to use this commands");

}

CMDMessageToASL(playerid,command[])

{

new string[128];

GetPlayerName(playerid,string,sizeof(string));

format(string,sizeof(string),"{47FFBC}[AsL Member] {00FF00}'%s' {47FFBC}(Rank: {00FF00}%d{47FFBC}) | Command: {00FF00}%s",string,PlayerInfo[playerid][ASL],command);

MessageToASL(-1,string);

return 1;

}



forward MessageToASL(color,const string[]);

public MessageToASL(color,const string[])

{

for(new i = 0; i < MAX_PLAYERS; i)

{

if(IsPlayerConnected(i) == 1)

if(PlayerInfo[i][ASL] >= 1) {

if(PlayerInfo[i][LoggedIn] == 1) {

SendClientMessage(i, color, string); }

}

}

return 1;

}





and when I tried placing it to a filter script I have so many errors

Code:
C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(112) : error 017: undefined symbol "ServerData"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(114) : error 017: undefined symbol "PlayerData"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(114) : error 009: invalid array size (negative, zero or out of bounds)

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(172) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(256) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(259) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(262) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(265) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(268) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(271) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(274) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(277) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(280) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(283) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(286) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(294) : error 017: undefined symbol "strtok"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(294) : error 033: array must be indexed (variable "tmp2")

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(307) : error 017: undefined symbol "pName"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(308) : error 017: undefined symbol "pName"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(314) : error 017: undefined symbol "pName"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(315) : error 017: undefined symbol "pName"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(316) : error 017: undefined symbol "SaveToFile"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(330) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(332) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(334) : error 017: undefined symbol "PlayerName2"

C:\Users\JACINTO\Downloads\Sean17\Script\Attack and Defend\filterscripts\groups.pwn(352) : error 017: undefined symbol "PlayerName2"



Compilation aborted.



Pawn compiler 3.10.4 Copyright (c) 1997-2006, ITB CompuPhase





26 Errors.



Please help me compile this, I'l really new and willing to learn



Here's my full filterscript if ever you guys need this

https://pastebin.com/FiqyXS5E


  Criticize me! - Scripting video
Posted by: Cubie - 2019-06-01, 01:57 PM - Forum: Videos and Screenshots - No Replies

You can always learn so let me know what you think!



[Video: https://youtu.be/QN1GKEAUfnk]