How to fix?
#3

Quote:
Originally Posted by PoTaToKiNgZ
Посмотреть сообщение
Hey guys i wanted a cmd called /achopper to spawn the RC vehicle that little helicopter anyway i tried this code but it doesnt work can someone help me with it??

Код:
CMD:achopper(playerid,params[])
{
	if(pInfo[playerid][pAdminLevel] >= 1 || IsPlayerAdmin(playerid))
	{
    GetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
    GetPlayerFacingAngle(playerid, Float:Angle);
    CreateVehicle(501, X, Y, Z + 2.0, Angle + 90.0, -1, -1, 5000);
     }
     return 1;
}
Try with this.

Код:
CMD:achopper(playerid,params[])
{
	if(pInfo[playerid][pAdminLevel] >= 1 || IsPlayerAdmin(playerid))
	{
    new Float:x, Float:y, Float:z, Float:Angle;
    GetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
    GetPlayerFacingAngle(playerid, Float:Angle);
    CreateVehicle(501, X, Y, Z+2, Angle, -1, -1, 5000);
     }
     return 1;
}
Reply


Messages In This Thread
How to fix? - by PoTaToKiNgZ - 17.12.2015, 14:09
Re: How to fix? - by ikey07 - 17.12.2015, 14:16
Re: How to fix? - by SoFahim - 17.12.2015, 14:17
Re: How to fix? - by Amunra - 17.12.2015, 14:33
Re: How to fix? - by PoTaToKiNgZ - 17.12.2015, 14:59
Re: How to fix? - by xTURBOx - 17.12.2015, 15:06
Re: How to fix? - by PoTaToKiNgZ - 17.12.2015, 15:08
Re: How to fix? - by SoFahim - 17.12.2015, 15:26
Re: How to fix? - by PoTaToKiNgZ - 17.12.2015, 15:32
Re: How to fix? - by SoFahim - 17.12.2015, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)