Advertisement
Guest User

LOL

a guest
Sep 1st, 2011
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. //Entrar X1 Walking
  2. if(strcmp(cmdtext, "/x1w", true)==0)
  3. {
  4. new name[MAX_PLAYER_NAME];
  5. if(GetPVarInt(playerid,"TipoX1W")>1) return SendClientMessage(playerid,COLOR_RED,"[ERRO] Você já está no X1!");
  6. if(PX1 == 2)return SendClientMessage(playerid, COLOR_RED, "[ERRO] Já existem dois participantes no X1");
  7. SetPVarInt(playerid,"TipoX1W",1);
  8. SetPVarInt(playerid,"Bloqueio",1);
  9. ResetPlayerWeapons(playerid);
  10. PX1++;
  11. PosX1(playerid);
  12. GetPlayerName(playerid, name, sizeof(name));
  13. format(string, sizeof(string), "[X1W] %s Foi Para X1W ( /X1W )", name);
  14. SendClientMessageToAll(green, string);
  15. return 1;
  16. }
  17. if(strcmp(cmdtext, "/x1r", true)==0)
  18. {
  19. new name[MAX_PLAYER_NAME];
  20. if(GetPVarInt(playerid,"TipoX1R")>1) return SendClientMessage(playerid,COLOR_RED,"[ERRO] Você já está no X1!");
  21. if(PX2 == 2)return SendClientMessage(playerid, COLOR_RED, "[ERRO] Já existem dois participantes no X1");
  22. SetPVarInt(playerid,"TipoX1W",1);
  23. SetPVarInt(playerid,"Bloqueio",1);
  24. ResetPlayerWeapons(playerid);
  25. PX2++;
  26. PosX2(playerid);
  27. GetPlayerName(playerid, name, sizeof(name));
  28. format(string, sizeof(string), "[X1R] %s Foi Para X1W ( /X1R )", name);
  29. SendClientMessageToAll(green, string);
  30. return 1;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement