SA-MP Forums Archive
Need help with destroying Dynamic Checkpoint - 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: Need help with destroying Dynamic Checkpoint (/showthread.php?tid=581188)



Need help with destroying Dynamic Checkpoint - Sc0pion - 11.07.2015

Fixed!


Re : Need help with destroying Dynamic Checkpoint - KillerDVX - 11.07.2015

Try this out :

PHP код:
public OnPlayerInteriorChange(playeridnewinterioridoldinteriorid)
{
    new 
string[42];
    new 
pname[24];
    
GetPlayerName(playerid,pname,sizeof(pname));
    if(
GetPlayerInterior(playerid) != 0)
    {
    
format(stringsizeof(string), "%s went from interior %d to interior %d!"pname,oldinterioridnewinteriorid);
    
SendClientMessage(playeridCOLOR_ORANGEstring);
    
DestroyDynamicCP(TracerCP[playerid]); 
    
KillTimer(TraceTimer[playerid]); 
    
Trace[playerid] = 0
    }
    return 
1;




Re: Re : Need help with destroying Dynamic Checkpoint - Sc0pion - 11.07.2015

Fixed!