01.03.2014, 08:41
Its on onPlayerDeath, Onplayer leave checkpoint and one self created callback, which get called every second and it is something like this
pawn Код:
if(getCheckpointType(playerid) == CP_SupaSaveMain)
{
if(RobbingSupaSave[playerid] >= 1)
{
RobbingSupaSave[playerid] =0;
for(new t=0; t<MAX_PLAYER_ATTACHED_OBJECTS; t++)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, t)) RemovePlayerAttachedObject(playerid, t);
}
return 1;
}
return 1;
}