[Help] DeleteObject
#1

Код:
    if(sscanf(params, "s", pstatus)) return SendClientMessage(playerid, 0xFFFFFF00, "USAGE: /pizza [out/in]");
    if(!strcmp(pstatus, "out", true, 3))
    {
   		GetPlayerPos(playerid, x, y, z);
   		cobjectid = CreateObject(1582, x, y, z, 0, 0, 0);
		AttachObjectToPlayer(cobjectid, playerid, OffsetX-0.1, OffsetY+0.18, OffsetZ-0.05, -90, 0, 0);
    }
    else if(!strcmp(pstatus, "in", true, 2))
    {
		DestroyObject(cobjectid);
    }
The problem is my object doesn't delete, any suggestions?
Reply


Messages In This Thread
[Help] DeleteObject - by Dudits - 15.07.2010, 08:41
Re: [Help] DeleteObject - by Finn - 15.07.2010, 08:48
Re: [Help] DeleteObject - by Dudits - 15.07.2010, 08:58
Re: [Help] DeleteObject - by (SF)Noobanatior - 15.07.2010, 09:04
Re: [Help] DeleteObject - by Dudits - 15.07.2010, 09:09
Re: [Help] DeleteObject - by (SF)Noobanatior - 15.07.2010, 09:16
Re: [Help] DeleteObject - by Dudits - 15.07.2010, 09:24
Re: [Help] DeleteObject - by (SF)Noobanatior - 15.07.2010, 09:28
Re: [Help] DeleteObject - by Dudits - 15.07.2010, 09:32
Re: [Help] DeleteObject - by (SF)Noobanatior - 15.07.2010, 09:37

Forum Jump:


Users browsing this thread: 2 Guest(s)