SHOW:
|
|
- or go back to the newest paste.
1 | //* Made by Meller on Forum.Sa-mp.com Do not remove credits *// | |
2 | #include <a_samp> | |
3 | #include <zcmd> | |
4 | #define COLOR_RED 0xBB0004FF | |
5 | ||
6 | CMD:jetpack(playerid, params[]) | |
7 | { | |
8 | if(IsPlayerAdmin(playerid)) | |
9 | { | |
10 | new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME]; | |
11 | GetPlayerName(playerid, name, sizeof(name)); | |
12 | ||
13 | format(string, sizeof(string), "[AdmWarn]%s gave himself a JetPack.", name); | |
14 | SendClientMessageToAll(COLOR_RED, string); | |
15 | SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK); | |
16 | } | |
17 | else | |
18 | - | SendClientMessage(playerid, COLOR_RED, "You is Not an Admin."); |
18 | + | SendClientMessage(playerid, COLOR_RED, "You are not an adminstrator."); |
19 | return 1; | |
20 | } |