Hallo,
das Object will nicht verschwinden (mit einem Timer)
Code:
//Tot-System
new Totobject[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
new Float:x,Float:y,Float:z,Float:rx,Float:ry,Float:rz;
GetPlayerPos(playerid,x,y,z);
Totobject[playerid] = CreateDynamicObject(18728,x,y,z,rx,ry,rz,-1,-1,-1,300.0);
SetTimer("TotZeichen",180000,false);
return 1;
}
public TotZeichen(playerid)
{
DestroyDynamicObject(Totobject[playerid]);
return 1;
}
MfG,
HunterBoY998