Object
#5

or you can do
pawn Код:
new object;

public OnPlayerRequestClass(playerid, classid)
{
    object = CreateObject(ID,X,Y,Z,Xr,Yr,Zr,DrawDistance); // THIS WILL CREATE OBJECT WHEN PLAYER IS ON REQUEST CLASS SELECTION
    return 1;
}
public OnPlayerSpawn(playerid)
{
    DestroyObject(object); // THIS WILL DESTROY OBJECT WHEN PLAYER SPAWN

    return 1;
}
TRY IT.
Reply


Messages In This Thread
Object - by Speed - 27.08.2011, 20:02
Re: Object - by iMonk3y - 27.08.2011, 20:13
Re: Object - by Speed - 27.08.2011, 20:43
Re: Object - by iMonk3y - 27.08.2011, 21:18
Re: Object - by Amel_PAtomAXx - 27.08.2011, 21:23
Re: Object - by Speed - 28.08.2011, 10:13
Re: Object - by Amel_PAtomAXx - 28.08.2011, 10:22
Re: Object - by Speed - 28.08.2011, 11:07
Re: Object - by Speed - 30.08.2011, 21:30
Re: Object - by Speed - 31.08.2011, 11:30

Forum Jump:


Users browsing this thread: 1 Guest(s)