Advertisement
Guest User

event test

a guest
Feb 8th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. //EVENT
  2. new soucoupe;
  3. new feu;
  4.  
  5. public OnPlayerCommandText(playerid, cmdtext[])
  6. {
  7. if(strcmp(cmdtext, "/soucoupe", true) == 0)
  8. {
  9. new string[50];
  10. new movetime = MoveObject(soucoupe, 593.59534, -1287.05859, 61.97410, 15, -33.00000, -33.00000, -11.0000);
  11. MoveObject(feu , 593.44702, -1287.26782, 61.94411, 15, 0.00000, 0.00000, 180.00000);
  12.  
  13. format(string, sizeof(string), "Votre objet à été déplacé en %d millisecondes", movetime);
  14. SendClientMessage(playerid, 0xFF000000, string);
  15. return 1;
  16. }
  17. return 0;
  18. }
  19.  
  20. public OnGameModeInit()
  21. {
  22. //EVENT
  23. soucoupe = CreateObject(18846, 366.89111, -2065.84180, 141.84171, -11.00000, 11.00000, 18.00000);
  24. feu = CreateObject(18694, 366.59787, -2067.50806, 141.95200, 0.00000, 0.00000, 180.00000);
  25. return 1;
  26. }
  27.  
  28. COORDONNEE EXPLOSION: CreateObject(18682, 594.19006, -1285.46655, 62.03288, 0.00000, 0.00000, 0.00000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement