Guest User

NATERP

a guest
Feb 28th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 14.42 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6. #include <a_objects>
  7. #include <a_players>
  8. #include <a_vehicles>
  9. #include <zcmd>
  10. #include <YSI\y_ini>
  11. #include <file>
  12.  
  13.  
  14. #define COLOR_ACTIVEBORDER 0xB4B4B4FF
  15. #define COLOR_ACTIVECAPTION 0x99B4D1FF
  16. #define COLOR_ACTIVECAPTIONTEXT 0x000000FF
  17. #define COLOR_ALICEBLUE 0xF0F8FFFF
  18. #define COLOR_ANTIQUEWHITE 0xFAEBD7FF
  19. #define COLOR_APPWORKSPACE 0xABABABFF
  20. #define COLOR_AQUA 0x00FFFFFF
  21. #define COLOR_AQUAMARINE 0x7FFFD4FF
  22. #define COLOR_AZURE 0xF0FFFFFF
  23. #define COLOR_BEIGE 0xF5F5DCFF
  24. #define COLOR_BISQUE 0xFFE4C4FF
  25. #define COLOR_BLACK 0x000000FF
  26. #define COLOR_BLANCHEDALMOND 0xFFEBCDFF
  27. #define COLOR_BLUE 0x0000FFFF
  28. #define COLOR_BLUEVIOLET 0x8A2BE2FF
  29. #define COLOR_BROWN 0xA52A2AFF
  30. #define COLOR_BURLYWOOD 0xDEB887FF
  31. #define COLOR_BUTTONFACE 0xF0F0F0FF
  32. #define COLOR_BUTTONHIGHLIGHT 0xFFFFFFFF
  33. #define COLOR_BUTTONSHADOW 0xA0A0A0FF
  34. #define COLOR_CADETBLUE 0x5F9EA0FF
  35. #define COLOR_CHARTREUSE 0x7FFF00FF
  36. #define COLOR_CHOCOLATE 0xD2691EFF
  37. #define COLOR_CONTROL 0xF0F0F0FF
  38. #define COLOR_CONTROLDARK 0xA0A0A0FF
  39. #define COLOR_CONTROLDARKDARK 0x696969FF
  40. #define COLOR_CONTROLLIGHT 0xE3E3E3FF
  41. #define COLOR_CONTROLLIGHTLIGHT 0xFFFFFFFF
  42. #define COLOR_CONTROLTEXT 0x000000FF
  43. #define COLOR_CORAL 0xFF7F50FF
  44. #define COLOR_CORNFLOWERBLUE 0x6495EDFF
  45. #define COLOR_CORNSILK 0xFFF8DCFF
  46. #define COLOR_CRIMSON 0xDC143CFF
  47. #define COLOR_CYAN 0x00FFFFFF
  48. #define COLOR_DARKBLUE 0x00008BFF
  49. #define COLOR_DARKCYAN 0x008B8BFF
  50. #define COLOR_DARKGOLDENROD 0xB8860BFF
  51. #define COLOR_DARKGRAY 0xA9A9A9FF
  52. #define COLOR_DARKGREEN 0x006400FF
  53. #define COLOR_DARKKHAKI 0xBDB76BFF
  54. #define COLOR_DARKMAGENTA 0x8B008BFF
  55. #define COLOR_DARKOLIVEGREEN 0x556B2FFF
  56. #define COLOR_DARKORANGE 0xFF8C00FF
  57. #define COLOR_DARKORCHID 0x9932CCFF
  58. #define COLOR_DARKRED 0x8B0000FF
  59. #define COLOR_DARKSALMON 0xE9967AFF
  60. #define COLOR_DARKSEAGREEN 0x8FBC8BFF
  61. #define COLOR_DARKSLATEBLUE 0x483D8BFF
  62. #define COLOR_DARKSLATEGRAY 0x2F4F4FFF
  63. #define COLOR_DARKTURQUOISE 0x00CED1FF
  64. #define COLOR_DARKVIOLET 0x9400D3FF
  65. #define COLOR_DEEPPINK 0xFF1493FF
  66. #define COLOR_DEEPSKYBLUE 0x00BFFFFF
  67. #define COLOR_DESKTOP 0x000000FF
  68. #define COLOR_DIMGRAY 0x696969FF
  69. #define COLOR_DODGERBLUE 0x1E90FFFF
  70. #define COLOR_FIREBRICK 0xB22222FF
  71. #define COLOR_FLORALWHITE 0xFFFAF0FF
  72. #define COLOR_FORESTGREEN 0x228B22FF
  73. #define COLOR_FUCHSIA 0xFF00FFFF
  74. #define COLOR_GAINSBORO 0xDCDCDCFF
  75. #define COLOR_GHOSTWHITE 0xF8F8FFFF
  76. #define COLOR_GOLD 0xFFD700FF
  77. #define COLOR_GOLDENROD 0xDAA520FF
  78. #define COLOR_GRADIENTACTIVECAPTION 0xB9D1EAFF
  79. #define COLOR_GRADIENTINACTIVECAPTION 0xD7E4F2FF
  80. #define COLOR_GRAY 0x808080FF
  81. #define COLOR_GRAYTEXT 0x808080FF
  82. #define COLOR_GREEN 0x008000FF
  83. #define COLOR_GREENYELLOW 0xADFF2FFF
  84. #define COLOR_HIGHLIGHT 0x3399FFFF
  85. #define COLOR_HIGHLIGHTTEXT 0xFFFFFFFF
  86. #define COLOR_HONEYDEW 0xF0FFF0FF
  87. #define COLOR_HOTPINK 0xFF69B4FF
  88. #define COLOR_HOTTRACK 0x0066CCFF
  89. #define COLOR_INACTIVEBORDER 0xF4F7FCFF
  90. #define COLOR_INACTIVECAPTION 0xBFCDDBFF
  91. #define COLOR_INACTIVECAPTIONTEXT 0x434E54FF
  92. #define COLOR_INDIANRED 0xCD5C5CFF
  93. #define COLOR_INDIGO 0x4B0082FF
  94. #define COLOR_INFO 0xFFFFE1FF
  95. #define COLOR_INFOTEXT 0x000000FF
  96. #define COLOR_IVORY 0xFFFFF0FF
  97. #define COLOR_KHAKI 0xF0E68CFF
  98. #define COLOR_LAVENDER 0xE6E6FAFF
  99. #define COLOR_LAVENDERBLUSH 0xFFF0F5FF
  100. #define COLOR_LAWNGREEN 0x7CFC00FF
  101. #define COLOR_LEMONCHIFFON 0xFFFACDFF
  102. #define COLOR_LIGHTBLUE 0xADD8E6FF
  103. #define COLOR_LIGHTCORAL 0xF08080FF
  104. #define COLOR_LIGHTCYAN 0xE0FFFFFF
  105. #define COLOR_LIGHTGOLDENRODYELLOW 0xFAFAD2FF
  106. #define COLOR_LIGHTGRAY 0xD3D3D3FF
  107. #define COLOR_LIGHTGREEN 0x90EE90FF
  108. #define COLOR_LIGHTPINK 0xFFB6C1FF
  109. #define COLOR_LIGHTSALMON 0xFFA07AFF
  110. #define COLOR_LIGHTSEAGREEN 0x20B2AAFF
  111. #define COLOR_LIGHTSKYBLUE 0x87CEFAFF
  112. #define COLOR_LIGHTSLATEGRAY 0x778899FF
  113. #define COLOR_LIGHTSTEELBLUE 0xB0C4DEFF
  114. #define COLOR_LIGHTYELLOW 0xFFFFE0FF
  115. #define COLOR_LIME 0x00FF00FF
  116. #define COLOR_LIMEGREEN 0x32CD32FF
  117. #define COLOR_LINEN 0xFAF0E6FF
  118. #define COLOR_MAGENTA 0xFF00FFFF
  119. #define COLOR_MAROON 0x800000FF
  120. #define COLOR_MEDIUMAQUAMARINE 0x66CDAAFF
  121. #define COLOR_MEDIUMBLUE 0x0000CDFF
  122. #define COLOR_MEDIUMORCHID 0xBA55D3FF
  123. #define COLOR_MEDIUMPURPLE 0x9370DBFF
  124. #define COLOR_MEDIUMSEAGREEN 0x3CB371FF
  125. #define COLOR_MEDIUMSLATEBLUE 0x7B68EEFF
  126. #define COLOR_MEDIUMSPRINGGREEN 0x00FA9AFF
  127. #define COLOR_MEDIUMTURQUOISE 0x48D1CCFF
  128. #define COLOR_MEDIUMVIOLETRED 0xC71585FF
  129. #define COLOR_MENU 0xF0F0F0FF
  130. #define COLOR_MENUBAR 0xF0F0F0FF
  131. #define COLOR_MENUHIGHLIGHT 0x3399FFFF
  132. #define COLOR_MENUTEXT 0x000000FF
  133. #define COLOR_MIDNIGHTBLUE 0x191970FF
  134. #define COLOR_MINTCREAM 0xF5FFFAFF
  135. #define COLOR_MISTYROSE 0xFFE4E1FF
  136. #define COLOR_MOCCASIN 0xFFE4B5FF
  137. #define COLOR_NAVAJOWHITE 0xFFDEADFF
  138. #define COLOR_NAVY 0x000080FF
  139. #define COLOR_OLDLACE 0xFDF5E6FF
  140. #define COLOR_OLIVE 0x808000FF
  141. #define COLOR_OLIVEDRAB 0x6B8E23FF
  142. #define COLOR_ORANGE 0xFFA500FF
  143. #define COLOR_ORANGERED 0xFF4500FF
  144. #define COLOR_ORCHID 0xDA70D6FF
  145. #define COLOR_PALEGOLDENROD 0xEEE8AAFF
  146. #define COLOR_PALEGREEN 0x98FB98FF
  147. #define COLOR_PALETURQUOISE 0xAFEEEEFF
  148. #define COLOR_PALEVIOLETRED 0xDB7093FF
  149. #define COLOR_PAPAYAWHIP 0xFFEFD5FF
  150. #define COLOR_PEACHPUFF 0xFFDAB9FF
  151. #define COLOR_PERU 0xCD853FFF
  152. #define COLOR_PINK 0xFFC0CBFF
  153. #define COLOR_PLUM 0xDDA0DDFF
  154. #define COLOR_POWDERBLUE 0xB0E0E6FF
  155. #define COLOR_PURPLE 0x800080FF
  156. #define COLOR_RED 0xFF0000FF
  157. #define COLOR_ROSYBROWN 0xBC8F8FFF
  158. #define COLOR_ROYALBLUE 0x4169E1FF
  159. #define COLOR_SADDLEBROWN 0x8B4513FF
  160. #define COLOR_SALMON 0xFA8072FF
  161. #define COLOR_SANDYBROWN 0xF4A460FF
  162. #define COLOR_SCROLLBAR 0xC8C8C8FF
  163. #define COLOR_SEAGREEN 0x2E8B57FF
  164. #define COLOR_SEASHELL 0xFFF5EEFF
  165. #define COLOR_SIENNA 0xA0522DFF
  166. #define COLOR_SILVER 0xC0C0C0FF
  167. #define COLOR_SKYBLUE 0x87CEEBFF
  168. #define COLOR_SLATEBLUE 0x6A5ACDFF
  169. #define COLOR_SLATEGRAY 0x708090FF
  170. #define COLOR_SNOW 0xFFFAFAFF
  171. #define COLOR_SPRINGGREEN 0x00FF7FFF
  172. #define COLOR_STEELBLUE 0x4682B4FF
  173. #define COLOR_TAN 0xD2B48CFF
  174. #define COLOR_TEAL 0x008080FF
  175. #define COLOR_THISTLE 0xD8BFD8FF
  176. #define COLOR_TOMATO 0xFF6347FF
  177. #define COLOR_TRANSPARENT 0xFFFFFF00
  178. #define COLOR_TURQUOISE 0x40E0D0FF
  179. #define COLOR_VIOLET 0xEE82EEFF
  180. #define COLOR_WHEAT 0xF5DEB3FF
  181. #define COLOR_WHITE 0xFFFFFFFF
  182. #define COLOR_WHITESMOKE 0xF5F5F5FF
  183. #define COLOR_WINDOW 0xFFFFFFFF
  184. #define COLOR_WINDOWFRAME 0x646464FF
  185. #define COLOR_WINDOWTEXT 0x000000FF
  186. #define COLOR_YELLOW 0xFFFF00FF
  187. #define COLOR_YELLOWGREEN 0x9ACD32FF
  188. #define STEALTH_ORANGE 0xFF880000
  189. #define STEALTH_OLIVE 0x66660000
  190. #define STEALTH_GREEN 0x33DD1100
  191. #define STEALTH_PINK 0xFF22EE00
  192. #define STEALTH_BLUE 0x0077BB00
  193.  
  194. new ooc[2];
  195.  
  196. //load config file
  197. forward LoadSettings_info ( name[], value[] );
  198. INI_ParseFile( "settings.ini", "LoadSettings_%s" );
  199.  
  200. public LoadSettings_info ( name[], value[] )
  201. {
  202.     // Every time you write information to the settings file, you have to use INI_SetTag( fileVariable, "info" );
  203.  
  204.     INI_Int("OOC", ooc);
  205.    
  206.   return 1;
  207. }
  208.  
  209.  
  210.  
  211. main()
  212. {
  213.     print("\n----------------------------------");
  214.     print(" Blank Gamemode by your name here");
  215.     print("----------------------------------\n");
  216. }
  217.  
  218.  
  219. public OnGameModeInit()
  220. {
  221.     // Don't use these lines if it's a filterscript
  222.     SetGameModeText("Nate's RP");
  223.     AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  224.     AddPlayerClass(1, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  225.     AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  226.     AddPlayerClass(3, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  227.     AddPlayerClass(4, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  228.     AddPlayerClass(275, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  229.    
  230.     //add vehicles
  231.     AddStaticVehicle(596,2037.8000500,1343.5999800,10.5000000,0.0000000,0,3); //Police Car (LSPD)
  232.     AddStaticVehicle(490,2037.9000200,1335.4000200,11.0000000,0.0000000,0,3); //FBI Rancher
  233.     AddStaticVehicle(514,2037.8000500,1325.8000500,11.4000000,0.0000000,3,3); //Tanker
  234.     AddStaticVehicle(584,2037.9000200,1309.5999800,11.8000000,0.0000000,245,245); //Trailer 3
  235.     AddStaticVehicle(596,2036.5000000,1350.5000000,10.6000000,0.0000000,0,44); //Police Car (LSPD)
  236.  
  237.  
  238.  
  239.  
  240.     return 1;
  241. }
  242.  
  243. public OnGameModeExit()
  244. {
  245.     return 1;
  246. }
  247.  
  248. public OnPlayerRequestClass(playerid, classid)
  249. {
  250.     SetPlayerPos(playerid, 1956.705810, 1343.167846, 15.374607);
  251.     SetPlayerFacingAngle(playerid, 269.020812);
  252.     SetPlayerCameraLookAt(playerid, 1956.705810, 1343.167846, 15.374607);
  253.     SetPlayerCameraPos(playerid, 1956.705810 + (5 * floatsin(-269.020812, degrees)), 1343.167846 + (5 * floatcos(-269.020812, degrees)), 15.374607);
  254.     return 1;
  255. }
  256.  
  257. public OnPlayerConnect(playerid)
  258. {
  259.  
  260.     //get users name
  261.     new string[128];
  262.     new directory[128];
  263.     new name[MAX_PLAYER_NAME+1];
  264.     GetPlayerName(playerid, name, sizeof(name));
  265.     format(string, sizeof(string), "scriptfiles/users/%s.ini", name);
  266.     format(directory, sizeof(directory), "users/%s.ini", name);
  267.     if(!fexist(string))
  268.     {
  269.  
  270.         new INI: newFile = INI_Open (directory);
  271.         INI_WriteString(newFile, "username", name);
  272.  
  273.         INI_Close(newFile);
  274.  
  275.     } else {
  276.         SendClientMessage(playerid, COLOR_LIGHTBLUE, "Your account is registered.");
  277.     }
  278.  
  279.     return 1;
  280. }
  281.  
  282. public OnPlayerDisconnect(playerid, reason)
  283. {
  284.     return 1;
  285. }
  286.  
  287. public OnPlayerSpawn(playerid)
  288. {
  289.  
  290.     //-------------------------------------------------------------------------------------------------
  291.  
  292.     return 1;
  293. }
  294.  
  295. public OnPlayerDeath(playerid, killerid, reason)
  296. {
  297.     return 1;
  298. }
  299.  
  300. public OnVehicleSpawn(vehicleid)
  301. {
  302.     return 1;
  303. }
  304.  
  305. public OnVehicleDeath(vehicleid, killerid)
  306. {
  307.     return 1;
  308. }
  309.  
  310. public OnPlayerText(playerid, text[])
  311. {
  312.     return 1;
  313. }
  314.  
  315. public OnPlayerCommandText(playerid, cmdtext[])
  316. {
  317.     return 0;
  318. }
  319.  
  320. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  321. {
  322.     return 1;
  323. }
  324.  
  325. public OnPlayerExitVehicle(playerid, vehicleid)
  326. {
  327.     return 1;
  328. }
  329.  
  330. public OnPlayerStateChange(playerid, newstate, oldstate)
  331. {
  332.     return 1;
  333. }
  334.  
  335. public OnPlayerEnterCheckpoint(playerid)
  336. {
  337.     return 1;
  338. }
  339.  
  340. public OnPlayerLeaveCheckpoint(playerid)
  341. {
  342.     return 1;
  343. }
  344.  
  345. public OnPlayerEnterRaceCheckpoint(playerid)
  346. {
  347.     return 1;
  348. }
  349.  
  350. public OnPlayerLeaveRaceCheckpoint(playerid)
  351. {
  352.     return 1;
  353. }
  354.  
  355. public OnRconCommand(cmd[])
  356. {
  357.     return 1;
  358. }
  359.  
  360. public OnPlayerRequestSpawn(playerid)
  361. {
  362.     return 1;
  363. }
  364.  
  365. public OnObjectMoved(objectid)
  366. {
  367.     return 1;
  368. }
  369.  
  370. public OnPlayerObjectMoved(playerid, objectid)
  371. {
  372.     return 1;
  373. }
  374.  
  375. public OnPlayerPickUpPickup(playerid, pickupid)
  376. {
  377.     return 1;
  378. }
  379.  
  380. public OnVehicleMod(playerid, vehicleid, componentid)
  381. {
  382.     return 1;
  383. }
  384.  
  385. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  386. {
  387.     return 1;
  388. }
  389.  
  390. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  391. {
  392.     return 1;
  393. }
  394.  
  395. public OnPlayerSelectedMenuRow(playerid, row)
  396. {
  397.     return 1;
  398. }
  399.  
  400. public OnPlayerExitedMenu(playerid)
  401. {
  402.     return 1;
  403. }
  404.  
  405. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  406. {
  407.     return 1;
  408. }
  409.  
  410. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  411. {
  412.     return 1;
  413. }
  414.  
  415. public OnRconLoginAttempt(ip[], password[], success)
  416. {
  417.     return 1;
  418. }
  419.  
  420. public OnPlayerUpdate(playerid)
  421. {
  422.     return 1;
  423. }
  424.  
  425. public OnPlayerStreamIn(playerid, forplayerid)
  426. {
  427.     return 1;
  428. }
  429.  
  430. public OnPlayerStreamOut(playerid, forplayerid)
  431. {
  432.     return 1;
  433. }
  434.  
  435. public OnVehicleStreamIn(vehicleid, forplayerid)
  436. {
  437.     return 1;
  438. }
  439.  
  440. public OnVehicleStreamOut(vehicleid, forplayerid)
  441. {
  442.     return 1;
  443. }
  444.  
  445. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  446. {
  447.     return 1;
  448. }
  449.  
  450. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  451. {
  452.     return 1;
  453. }
  454.  
  455.  
  456.  
  457.  
  458. //RP COMMANDS----------------------------------------
  459. CMD:ooc(playerid, params[])
  460. {
  461.     //check if OOC is enalbed
  462.    
  463.  
  464.     new string[128];
  465.     new name[MAX_PLAYER_NAME+1];
  466.     GetPlayerName(playerid, name, sizeof(name));
  467.    
  468.     if(isnull(params)) return SendClientMessage(playerid, -1, "USAGE: /ooc [message]");
  469.     format(string, sizeof(string), "((OOC: %s: %s))", name, params);
  470.     SendClientMessageToAll(-1, string);
  471.     return 1;
  472.    
  473. }
  474.  
  475. CMD:newb(playerid, params[])
  476. {
  477.     new string[128];
  478.     new name[MAX_PLAYER_NAME+1];
  479.     GetPlayerName(playerid, name, sizeof(name));
  480.    
  481.     if(isnull(params)) return SendClientMessage(playerid, -1, "USAGE: /newb [question]");
  482.     format(string, sizeof(string), "((NEWB: %s: %s", name, params);
  483.     SendClientMessageToAll(COLOR_LIGHTBLUE, string);
  484.     return 1;
  485. }
  486.  
  487. CMD:help(playerid, params[])
  488. {
  489.     if(isnull(params)){
  490.         SendClientMessage(playerid, COLOR_RED, "_________________HELP_________________");
  491.         SendClientMessage(playerid, COLOR_YELLOW, "Regular Commands: /help /ooc /me");
  492.         if(IsPlayerAdmin(playerid)){
  493.         SendClientMessage(playerid, COLOR_FUCHSIA, "Admin Commands: /am /aho /ahc /lvo /lvc /lso /lsc /ts");
  494.         }
  495.         SendClientMessage(playerid, COLOR_RED, "______________________________________");
  496.     }
  497.     return 1;
  498. }
  499.  
  500. CMD:me(playerid, params[])
  501. {
  502.     new string[128];
  503.     new name[MAX_PLAYER_NAME+1];
  504.     GetPlayerName(playerid, name, sizeof(name));
  505.     if(isnull(params)) return SendClientMessage(playerid, -1, "USAGE: /me [action]");
  506.     format(string, sizeof(string), "* %s %s.", name, params);
  507.     SendClientMessageToAll(0xFF6363FF, string);
  508.     return 1;
  509. }
  510.  
  511. //ADMIN COMMANDS--------------------------------------
  512.      CMD:am(playerid, params[])
  513.     {
  514.         if(IsPlayerAdmin(playerid)){
  515.             new string[128];
  516.            
  517.             new name[MAX_PLAYER_NAME+1];
  518.             GetPlayerName(playerid, name, sizeof(name));
  519.            
  520.             if(isnull(params)) return SendClientMessage(playerid, -1, "USAGE: /am [message]");
  521.             format(string, sizeof(string), "(ADMIN) %s says %s", name, params);
  522.             SendClientMessageToAll(COLOR_PINK, string);
  523.             return 1;
  524.         } else {
  525.             SendClientMessage(playerid, COLOR_LIGHTBLUE, "You don't have access to this command.");
  526.             return 1;
  527.         }
  528.     }
  529.    
  530.      CMD:ts(playerid, params[])
  531.     {
  532.         if(IsPlayerAdmin(playerid)){
  533.        
  534.             SendClientMessageToAll(COLOR_LIMEGREEN, "TeamSpeak Server: XXX.XXX.XXX.XXX");
  535.        
  536.         } else {
  537.             SendClientMessage(playerid, COLOR_LIGHTBLUE, "You don't have access to this command.");
  538.         }
  539.     }
  540. /*
  541.     CMD:od(playerid, params[])
  542.     {
  543.         if(IsPlayerAdmin(playerid)){
  544.        
  545.             new name[MAX_PLAYER_NAME+1];
  546.             GetPlayerName(playerid, name, sizeof(name));
  547.  
  548.             if(params == "1"){
  549.            
  550.             } else if (params == "0"){
  551.            
  552.             }
  553.        
  554.         } else {
  555.             SendClientMessage(playerid, COLOR_LIGHTBLUE, "You don't have access to this command.");
  556.             return 1;
  557.         }
  558.         return 1;
  559.     }
  560.  */
Advertisement
Add Comment
Please, Sign In to add comment