xqz

xqz

xqz
Dec 19th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. CMD:zstart(playerid,params[])
  2. {
  3. if (NOFZombies>0)
  4. {
  5. new id;
  6. if(sscanf(params,"d",id)) return SendClientMessage(playerid, 0xFFFFFFAA, "Uzyj/ cos [playerid]");
  7. if (!IsPlayerConnected(id))
  8. {
  9. SendClientMessage(playerid, 0xFFFFFFAA, "That player is not conected!");
  10. return 1;
  11. }
  12. if (TimerAtaca!=-1){KillTimer(TimerAtaca);}
  13. for (new j=0;j<TOTALZombies;j++){zombie[j][target]=id;}
  14. TimerAtaca=SetTimer("zombieAtaca",ZTimerSpeed,1);
  15. return 1;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment