My object problem
#5

Quote:
Originally Posted by ElieJabbour
Посмотреть сообщение
You're using the DestroyObject wrong.

https://sampwiki.blast.hk/wiki/DestroyObject
He is using it correctly. Instead of making accusations, why not tell him how to solve the problem?

Quote:
Originally Posted by Soumi
Посмотреть сообщение
But when i wanted to use /getstretcher again after destroying that object, its not working
nothing happens
Try mine:

PHP код:
new Object[MAX_PLAYERS];
YCMD:getstretcher(playeridparams[], help)
{
    new 
Float:XFloat:YFloat:Z;
    
#pragma unused help
    #pragma unused params
    
Object[playerid] = CreateObject(2146XYZ00075.0);
     
AttachObjectToPlayer(Object[playerid], playerid,  -0.5065041.5049880.0315840.00000089.5666350.000000);
    return 
1;
}
YCMD:removestretcher(playeridparams[], help)
{
    
#pragma unused help
    #pragma unused params
    
DestroyObject(Object[playerid]);
    return 
1;

Reply


Messages In This Thread
My object problem - by Soumi - 16.08.2011, 11:15
Re: My object problem - by MadeMan - 16.08.2011, 11:27
Re : My object problem - by Soumi - 16.08.2011, 11:53
Re: My object problem - by ElieJabbour - 16.08.2011, 14:40
Re: Re : My object problem - by Kush - 16.08.2011, 14:55
Re: My object problem - by =WoR=Varth - 16.08.2011, 15:00
Re: My object problem - by Soumi - 16.08.2011, 15:21
Re: My object problem - by =WoR=Varth - 16.08.2011, 15:28
Re: My object problem - by Soumi - 16.08.2011, 15:30
Re: My object problem - by Kush - 16.08.2011, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)