21.05.2014, 10:34
Quote:
Show us your code please. We need to know which lines as well so if you can make a comment on each line that would be great!!!
|
7452-7460
Quote:
{ if(!IsPlayerLoggedIn(playerid) || PlayerInfo[playerid][pAsshole] == 1) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command."); if(IsPlayerCuffed(playerid) || IsPlayerTazed(playerid) || IsPlayerTied(playerid) || Boxing[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time."); TogglePlayerControllable(playerid, 1); new Float:Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]+5); return 1; } |