Advertisement
redkiil

TESTEGODCAR

Apr 28th, 2011
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 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_npc>
  7.  
  8. #if defined FILTERSCRIPT
  9. #pragma tabsize 0
  10.  
  11.  
  12. main()
  13. {
  14. print("\n----------------------------------");
  15. print(" GODCARTESTE");
  16. print("----------------------------------\n");
  17. }
  18.  
  19. #endif
  20.  
  21. public OnPlayerCommandText(playerid, cmdtext[])
  22. {
  23. //=============================godon==================
  24. if (strcmp("/godon", cmdtext, true, 10) == 0)
  25. {
  26. GetPlayerVehicleID(playerid);
  27. SetVehicleHealth(GetPlayerVehicleID(playerid),99999999999999);
  28. SendClientMessage(playerid,0xFFFFFFAA,"[INFO] Voce Ligou o MODO GOD CAR");
  29. }
  30. return 1;
  31. }
  32. //==============godoff============================
  33. if (strcmp("/godoff", cmdtext, true, 10) == 0)
  34. {
  35. GetPlayerVehicleID(playerid);
  36. SetVehicleHealth(GetPlayerVehicleID(playerid),1000);
  37. SendClientMessage(playerid,0xFFFFFFAA,"[INFO] Voce Deligou o MODO GOD CAR");
  38. }
  39. return 1;
  40. }
  41. //=======================funfakpt===========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement