#3

pawn Код:
new box; //on top of your gm under includes
if (!strcmp("/createbox", cmdtext, true, 10))
{
   new Float:x,Float:y,Float:z;
   GetPlayerPos(playerid,x,y,z);
   box = CreateObject(1220,x,y,z,0,0,0);
    return 1;
}
if (!strcmp("/removebox", cmdtext, true, 10))
{
   DestroyObject(box);
    return 1;
}
Reply


Messages In This Thread
prob - by John_Harper - 29.09.2012, 08:26
Re: prob - by John_Harper - 29.09.2012, 08:54
Re: prob - by Gangster-rocks - 29.09.2012, 09:10

Forum Jump:


Users browsing this thread: 3 Guest(s)