14.04.2011, 19:41
pawn Код:
CMD:stopfly(playerid, params[]) {
#pragma unused params
if(IsPlayerAdmin(playerid)) {
if(SetPlayerGravity(playerid, 0)) {
SetPlayerGravity(playerid, 0.5);
}
else return SendClientMessage(playerid, COLOR_TAN, "You must be flying to use this command");
}
else return SendClientMessage(playerid, COLOR_BRIGHTRED, "You have no acces to this command");
return 1;
}