Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmd(whyme, playerid, params[]) // Komanda za info ko me areao i zašto.
- {
- if(IsPlayerConnectedAndLoggedIn(playerid))
- {
- if(PlayerInfo[playerid][pArea] > 0)
- {
- new string[128];
- format(string, 128, "* Posljednja kazna od strane administratora %s - razlog: %s.", PlayerInfo[playerid][pAreaBy], PlayerInfo[playerid][pAreaReason]);
- SendClientMessage(playerid, 0xEE6255FF, string);
- }
- else
- {
- SendClientMessage(playerid, COLOR_ERROR, "ERROR: Ne mozete koristiti ovu komandu jer niste kaznjeni - niste u area-i.");
- PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement