Object
#4

You create the objects under the OnPlayerRequestClass callback. Something like:

pawn Код:
//OnPlayerRequestClass
if( !IsValidObject( Some_Stupid_Object ) )
{
    Some_Stupid_Object = CreateObject( ... );
}
Then:
pawn Код:
//OnPlayerRequestSpawn
if( IsValidObject( Some_Stupid_Object ) )
{
    DestroyObject( Some_Stupid_Object );
    Some_Stupid_Object = -1;
}
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)