Problem
#2

You just set IsCaged[pID] to 0 when player get uncaged?

and of course SScanf should be the frist in list like

pawn Код:
if(sscanf(params, "u", pID)) return SendClientMessage(playerid, COLOR_RED, "/GOTO [ID / NAME]");
if(Restrictgoto == 1) return  SendClientMessage(playerid, COLOR_RED, "You Cannot Use This Command reason:[DISABLED]");
    if(IsCaged[pID] == 1) return SendClientMessage(playerid, COLOR_RED, "You can't use this command when you are caged!");
    if(duel[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "you cannot goto use /exitduel");
    if(duel[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "you cannot goto use /exit duel");
    if(GetPVarInt(playerid, "Jailed") == 1) return SendClientMessage(playerid, COLOR_RED, "You cannot use this command when jailed.");
    if(IsInChallenge[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "You cannot use this command in a challenge.");
    if(!IsPlayerConnected(pID)) return SendClientMessage(playerid, COLOR_RED, "This player is not connected.");
    if(IsInChallenge[pID] == 1) return SendClientMessage(playerid, COLOR_RED, "You cannot use this command on a player in a challenge.");
    if(IsSpecing[pID] == 1 || OnDuty[pID] == 1) return SendClientMessage(playerid, COLOR_RED, "You cannot /goto this player at the moment.");
    if(playerid == pID) return SendClientMessage(playerid, COLOR_RED, "You cannot use this command on yourself.");
    if(StopGoto[pID] == 1) return SendClientMessage(playerid, COLOR_RED, "This player has disabled using /goto on him.");
    if(duel[pID] == 1) return SendClientMessage(playerid, COLOR_RED, "you cannot goto this player do /duel");
becouse you just bring playerid to a var pID and its a sscanf get
Reply


Messages In This Thread
Problem - by [..MonTaNa..] - 07.04.2013, 00:07
Re: Problem - by iJumbo - 07.04.2013, 00:24
Re: Problem - by [..MonTaNa..] - 07.04.2013, 03:11
Re: Problem - by BlackID - 07.04.2013, 03:15
Re: Problem - by [..MonTaNa..] - 07.04.2013, 05:41
Re: Problem - by ]Rafaellos[ - 07.04.2013, 05:47

Forum Jump:


Users browsing this thread: 1 Guest(s)