27.11.2010, 20:09
i made this command you could try out you can replace the object as createpickup
obviously it creates objects in front and behind you
Код:
if(strcmp(cmdtext, "/objects", true) == 0)
{
new Float:xnob,Float:ynob,Float:znob;
GetPlayerPos(playerid,xnob,ynob,znob);
GetXYInFrontOfPlayer(playerid,xnob,ynob,0.5);
CreateObject(1375,xnob,ynob,znob,0,0,0,1.0);
GetXYBehindPlayer(playerid,xnob,ynob,0.5);
CreateObject(1375,xnob,ynob,znob,0,0,0,1.0);
return 1;
}

