Quote:
Originally Posted by Toney
So stream it what a problem?
pawn Код:
new object1; new object2;
public OnPlayerRequestClass(playerid, classid) { object1 = CreateDynamicObject(playerid, X, Y, Z, R1, R2, R3, VirtualWorld, Interior, Playerid, ViewDistance); object2 = CreateDynamicObject(playerid, X, Y, Z, R1, R2, R3, VirtualWorld, Interior, Playerid, ViewDistance); return 1; }
public OnPlayerSpawn(playerid) { DestroyDynamicObject(object1); DestroyDynamicObject(object2); return 1; }
|
First off, CreateDynamicObject doesnt have a playerid parameter. And Incognito mentioned the objects won't show up under OnPlayerRequestClass since your position is 0.0.