Guest User

Explo

a guest
Feb 27th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.58 KB | None | 0 0
  1. ocmd:explo(playerid, params[]) // k.a. was du benutzt
  2. {    
  3. //Adminabfrage etc    
  4. new Float:temppos[3];
  5. GetPlayerPos(playerid, temppos[0], temppos[1], temppos[2]);    
  6. SetTimerEx("explotime", 10000, 0, "fff", temppos[0], temppos[1], temppos[2]);    
  7. SendClientMessage(playerid, -1, "Bombe wurde gezündet. In 10 Sekunden rummst es!"); //Kannst auch noch nen 3dTextLabel da erstellen + Bombenobjekt, wie du willst
  8. return 1;
  9. }
  10.  
  11. forward explotime(Float:x, Float:y, Float:z);
  12. public explotime(Float:x, Float:y, Float:z)
  13. {    
  14. CreateExplosion(x, y, z, 12, 10.0);    
  15. return 1;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment