08.11.2011, 20:38
try:
OnPlayerDeath and OnPlayerDisconnect:
Wiki for help:
-> SetPlayerAttachedObject
-> RemovePlayerAttachedObject
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerAttachedObject(playerid, 1, 18864, 10, 0, 0 -10);
return true;
}
pawn Код:
RemovePlayerAttachedObject(playerid, 1);
-> SetPlayerAttachedObject
-> RemovePlayerAttachedObject