22.12.2015, 22:32
Hey hey,
Another problem, I want some objects placed by a Player to get removed when he dies, it is a RoadBlock and this is what I have under OnPlayerDeath:
I got this to create the object (inside the CMD):
Anyone?
Another problem, I want some objects placed by a Player to get removed when he dies, it is a RoadBlock and this is what I have under OnPlayerDeath:
PHP код:
DestroyObject(RoadBlockObject[playerid]);
RoadBlock[playerid] = 0;
PHP код:
RoadBlockObject[playerid] = CreateObject(979, X, Y, Z-0.3, 0, 0, Angle);
RoadBlock[playerid] = 1;