Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:jail(playerid, params[])
- {
- if(Administrator[playerid] < 1)
- return 0;
- new player, reason[64];
- if(sscanf(params, "ds[64]", player, reason))
- return SCM(playerid, -1, "* {A60000}/Jail [ID] [Powód]");
- if(!IsPlayerConnected(player))
- return SCM(playerid, -1, "* {A60000}Gracz o takim ID nie jest polaczony");
- if(GetPVarInt(player, "pJailed") == 1)
- return SCM(playerid, -1, "* {A60000}Ten gracz jest juz w wiezieniu!");
- JailPlayer(player, pName[playerid], reason);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement