Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:dodaj_policja(playerid, cmdtext[])
- {
- new string[256];
- if(IsPlayerAdmin(playerid) == 1) {
- new string2[256];
- string = strtok(cmdtext, idx);
- if(!strlen(string)) {
- SendClientMessage(playerid, COLOR_YELLOW, "Wpisz: /dodaj_policja [nick]");
- return 1;
- }
- new nick[256];
- nick = string;
- format(string2, sizeof(string2), "Gracz %s zostal dodany do Policji!", string);
- SendClientMessage(playerid, ZIELONY, string2);
- string = strtok(cmdtext, idx);
- DOF2_SetString(POLICJA, nick, "1");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement