[ Help Me ] << - 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)
+--- Thread: [ Help Me ] << (
/showthread.php?tid=575146)
[ Help Me ] << -
Jekrz - 24.05.2015
Can Someone Help Me Where I Can Make Object Like Mapper System
/Createobj /Editobj /Deleteobj
For My Roleplay Server
And Save System Load System
CMD:Createobj
CMD:EditObj
CMD
eleteObj
Can Someone Give Me A Code ?
And How To Make /Factions Like /Families ?
Help Me
Regards >> Jekrz Cz.
Re: [ Help Me ] << -
SoFahim - 24.05.2015
If i am not worng. I was gave you a link for create script. Am i wrong? Please try to learn yourself. We just help in scripting code. not in the whole. Try to make one. If there any error. then post. Here many expart online who can help you.
Thanks for read my post. Hope you will understand
Re : [ Help Me ] << -
KillerDVX - 24.05.2015
PHP код:
stock GetXYInFrontOfPlayer(playerid, &Float:x, &Float:y, Float:distance)
{
new Float:a;
GetPlayerPos(playerid, x, y, a);
GetPlayerFacingAngle(playerid, a);
if (GetPlayerVehicleID(playerid))
{
GetVehicleZAngle(GetPlayerVehicleID(playerid), a);
}
x += (distance * floatsin(-a, degrees));
y += (distance * floatcos(-a, degrees));
}
I suggest you tu use this one.