SA-MP Forums Archive
Help Me ~~ - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Me ~~ (/showthread.php?tid=596525)



Help Me ~~ - jokerm - 19.12.2015

I just want to make a checkPoint
that if player go in that Cp player skin will change to 200
and if player leaves the cp player skin will same as before entering cp
So How To Make That
Thank you For Helping


Re: Help Me ~~ - FreAkeD - 19.12.2015

Is this what you need?

Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
    return 1;
}
 
public OnPlayerEnterCheckpoint(playerid)
{
    SetPlayerSkin(playerid, 277);
    DisablePlayerCheckpoint(playerid);
    return 1;
}
https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint


Re: Help Me ~~ - jokerm - 19.12.2015

no,
but if player leave check point
player skin as before entering cp


Re: Help Me ~~ - jokerm - 19.12.2015

no,
but if player leave check point
player skin will as before entering cp


Re: Help Me ~~ - jokerm - 19.12.2015

Any One