Guest User

Untitled

a guest
Jan 19th, 2014
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. if(strcmp(cmd, "/zatrudnij_poli", true) == 0 && (strfind(PlayerName(playerid), "NickSzefaPoli", true) == 0)){
  2. new string2[256];
  3. string = strtok(cmdtext, idx);
  4. if(!strlen(string)) {
  5. SendClientMessage(playerid, COLOR_YELLOW, "/zatrudnij_poli [nick]");
  6. return 1;
  7. }
  8. new nick[256];
  9. nick = string;
  10. format(string2, sizeof(string2), "Gracz %s zostal zatrudniony do twojej Frakcji (Policja)", string);
  11. SendClientMessage(playerid, ZIELONY, string2);
  12. string = strtok(cmdtext, idx);
  13. dini_Set(POLICJA, nick, "1");
  14. return 1;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment