Need help with destroying Dynamic Checkpoint
#2

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;

Reply


Messages In This Thread
Need help with destroying Dynamic Checkpoint - by Sc0pion - 11.07.2015, 12:19
Re : Need help with destroying Dynamic Checkpoint - by KillerDVX - 11.07.2015, 12:40
Re: Re : Need help with destroying Dynamic Checkpoint - by Sc0pion - 11.07.2015, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)