SA-MP Forums Archive
[Ajuda] Por favor Arruma esse Codigo - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Por favor Arruma esse Codigo (/showthread.php?tid=377266)



Por favor Arruma esse Codigo - felipe_mr - 13.09.2012

Ola eu queria uma ajuda para arrumar esse codigo OBG

pawn Код:
public FuckYou(playerid,give){if(!IsPlayerConnected(give)) {KillTimer(timer[playerid]);DisablePlayerCheckpoint(playerid);return SendClientMessage(playerid, COLOR_WHITE, "O Player Desconectou");}
static Float:X,Float:Y,Float:Z;GetPlayerPos(give,X,Y,Z);SetPlayerCheckpoint(playerid, X,Y,Z, 6);if(PlayerToPoint(7.0,playerid,X,Y,Z)){DisablePlayerCheckpoint(playerid);KillTimer(timer[playerid]);GameTextForPlayer(playerid, " ~w~Voce chegou ao ~b~individuo", 5000, 3);}return true;}



Re: Por favor Arruma esse Codigo - AmericanStyle'™ - 13.09.2012

pawn Код:
public FuckYou(playerid,give)
{
    if(!IsPlayerConnected(give))
    {
        KillTimer(timer[playerid]);
        DisablePlayerCheckpoint(playerid);
        return SendClientMessage(playerid, COLOR_WHITE, "O Player Desconectou");
    }
    static Float:X,Float:Y,Float:Z;
    GetPlayerPos(give,X,Y,Z);
    SetPlayerCheckpoint(playerid, X,Y,Z, 6);
    if(PlayerToPoint(7.0,playerid,X,Y,Z))
    {
        DisablePlayerCheckpoint(playerid);
        KillTimer(timer[playerid]);
        GameTextForPlayer(playerid, " ~w~Voce chegou ao ~b~individuo", 5000, 3);
    }
    return true;
}