Destroy Object
#2

When you create your object, do you do like that ?

PHP код:

trap
[playerid] = CreateObject();
// OR
trap[playerid] = SetPlayerAttachedObject(); 
And if, add these lines below the object creating

PHP код:
if(IsValidObject(trap[playerid]))
{
    print(
"Trap object successfuly created");

Also add these lines below the object destroy

PHP код:

if(!IsValidObject(trap[playerid]))
{
    print(
"Trap object successfuly destroyed !");

If the strings print in the console, it means that this is a display bug, not a scripting bug.
Reply


Messages In This Thread
Destroy Object - by Blackazur - 22.02.2014, 14:17
Re : Destroy Object - by S4t3K - 22.02.2014, 14:21
AW: Destroy Object - by Blackazur - 22.02.2014, 14:26
Re : Destroy Object - by S4t3K - 22.02.2014, 14:33
Re: Destroy Object - by BigGroter - 22.02.2014, 14:33
AW: Destroy Object - by Blackazur - 22.02.2014, 15:52
Re : Destroy Object - by S4t3K - 22.02.2014, 15:55
Re: AW: Destroy Object - by Vince - 22.02.2014, 16:00
Re : Destroy Object - by S4t3K - 22.02.2014, 16:06
AW: Re: AW: Destroy Object - by Blackazur - 22.02.2014, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)