SA-MP Forums Archive
Object question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Object question (/showthread.php?tid=247106)



Object question - elefante - 07.04.2011

Hello guys i need this thing:
I need in game object stremer, for example:
Player write command: /object and near him stick object...


and then him write /move than with move keys move object... somefing like this

and saving

Sorry my realy bad english but i need this for my gm


Re: Object question - Cameltoe - 07.04.2011

Look in the filterscript section, there's a lot Ingame object editors.


Re: Object question - elefante - 07.04.2011

Код:
CMD:o(playerid,params[])
{
new Float:x,Float:y,Float:z,Float:a,Float:X,Float:y;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
X = x + (-2 * floatsin(-a,degrees));
Y = y + (-2 * floatcos(-a,degrees));
CreateObject(16442,X,Y,z,0,0,0);
return 1;
}
i try somefing like this but fail