17.12.2015, 14:09
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; }