Advertisement
Guest User

new.pwn zcmd

a guest
Mar 26th, 2013
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. #include <a_samp> //SA-MP TeaM
  2. #include <streamer> //icognito's Include
  3. #include <dof2> //Double-o-sevem.
  4. #include zcmd
  5. #include <YSI\y_ini>
  6. #include <sscanf2>
  7.  
  8. main()
  9. {
  10. print("\n----------------------------------");
  11. print(" Blank Gamemode by your name here");
  12. print("----------------------------------\n");
  13. }
  14.  
  15. //=====[ARRAYS]======
  16. new texto;
  17. new nome[MAX_PLAYER_NAME];
  18. new Str[128];
  19. new id;
  20.  
  21. public OnGameModeInit()
  22. {
  23. // Don't use these lines if it's a filterscript
  24. SetGameModeText("Blank Script");
  25. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  26. return true;
  27. }
  28.  
  29. public OnGameModeExit()
  30. {
  31. return true;
  32. }
  33.  
  34. public OnPlayerRequestClass(playerid, classid)
  35. {
  36. SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  37. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  38. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  39. return true;
  40. }
  41.  
  42. public OnPlayerConnect(playerid)
  43. {
  44. return true;
  45. }
  46.  
  47. public OnPlayerDisconnect(playerid, reason)
  48. {
  49. return true;
  50. }
  51.  
  52. public OnPlayerSpawn(playerid)
  53. {
  54. return true;
  55. }
  56.  
  57. public OnPlayerDeath(playerid, killerid, reason)
  58. {
  59. return true;
  60. }
  61.  
  62. public OnVehicleSpawn(vehicleid)
  63. {
  64. return true;
  65. }
  66.  
  67. public OnVehicleDeath(vehicleid, killerid)
  68. {
  69. return true;
  70. }
  71.  
  72. public OnPlayerText(playerid, text[])
  73. {
  74. return true;
  75. }
  76.  
  77. //public OnPlayerCommandText(playerid, cmdtext[])
  78. //{
  79. CMD:mp(playerid, params[])
  80. {
  81. if(sscanf(params, "us",id,texto))
  82. {
  83. SendClientMessage(playerid,-1,"Use: /mp [id] [texto]");
  84. }
  85. else
  86. {
  87. if(IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "Este jogador não está conectado");
  88. GetPlayerName(playerid,nome,sizeof(nome));
  89. format(Str, sizeof(Str), "Mesangem Privada de %s: %s",nome,texto);
  90. SendClientMessage(id,-1,Str);
  91. }
  92. return true;
  93. }
  94.  
  95. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  96. {
  97. return true;
  98. }
  99.  
  100. public OnPlayerExitVehicle(playerid, vehicleid)
  101. {
  102. return true;
  103. }
  104.  
  105. public OnPlayerStateChange(playerid, newstate, oldstate)
  106. {
  107. return true;
  108. }
  109.  
  110. public OnPlayerEnterCheckpoint(playerid)
  111. {
  112. return true;
  113. }
  114.  
  115. public OnPlayerLeaveCheckpoint(playerid)
  116. {
  117. return true;
  118. }
  119.  
  120. public OnPlayerEnterRaceCheckpoint(playerid)
  121. {
  122. return true;
  123. }
  124.  
  125. public OnPlayerLeaveRaceCheckpoint(playerid)
  126. {
  127. return true;
  128. }
  129.  
  130. public OnRconCommand(cmd[])
  131. {
  132. return true;
  133. }
  134.  
  135. public OnPlayerRequestSpawn(playerid)
  136. {
  137. return true;
  138. }
  139.  
  140. public OnObjectMoved(objectid)
  141. {
  142. return true;
  143. }
  144.  
  145. public OnPlayerObjectMoved(playerid, objectid)
  146. {
  147. return true;
  148. }
  149.  
  150. public OnPlayerPickUpPickup(playerid, pickupid)
  151. {
  152. return true;
  153. }
  154.  
  155. public OnVehicleMod(playerid, vehicleid, componentid)
  156. {
  157. return true;
  158. }
  159.  
  160. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  161. {
  162. return true;
  163. }
  164.  
  165. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  166. {
  167. return true;
  168. }
  169.  
  170. public OnPlayerSelectedMenuRow(playerid, row)
  171. {
  172. return true;
  173. }
  174.  
  175. public OnPlayerExitedMenu(playerid)
  176. {
  177. return true;
  178. }
  179.  
  180. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  181. {
  182. return true;
  183. }
  184.  
  185. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  186. {
  187. return true;
  188. }
  189.  
  190. public OnRconLoginAttempt(ip[], password[], success)
  191. {
  192. return true;
  193. }
  194.  
  195. public OnPlayerUpdate(playerid)
  196. {
  197. return true;
  198. }
  199.  
  200. public OnPlayerStreamIn(playerid, forplayerid)
  201. {
  202. return true;
  203. }
  204.  
  205. public OnPlayerStreamOut(playerid, forplayerid)
  206. {
  207. return true;
  208. }
  209.  
  210. public OnVehicleStreamIn(vehicleid, forplayerid)
  211. {
  212. return true;
  213. }
  214.  
  215. public OnVehicleStreamOut(vehicleid, forplayerid)
  216. {
  217. return true;
  218. }
  219.  
  220. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  221. {
  222. return true;
  223. }
  224.  
  225. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  226. {
  227. return true;
  228. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement