11.07.2015, 12:19
(
Последний раз редактировалось Sc0pion; 22.07.2015 в 16:45.
)
Fixed!
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
new string[42];
new pname[24];
GetPlayerName(playerid,pname,sizeof(pname));
if(GetPlayerInterior(playerid) != 0)
{
format(string, sizeof(string), "%s went from interior %d to interior %d!", pname,oldinteriorid, newinteriorid);
SendClientMessage(playerid, COLOR_ORANGE, string);
DestroyDynamicCP(TracerCP[playerid]);
KillTimer(TraceTimer[playerid]);
Trace[playerid] = 0;
}
return 1;
}