GetPlayerVehicleID(playerid), -1, return static = [/CENTER] static SendClientMessage(playerid,-1,str); = "iffffff", != Float:x,Float:y,Float:z; SendClientMessage(playerid,-1,"Вы sizeof(str), const return объекта] не SendClientMessage(playerid, new CreateObject(%i,%f,%f,%f,,0.0,0.0,0.0);"; fmt_string,params[1],params[2],params[3],params[4],params[5],params[6]); = fmt_string,params[0],x,y,z); return "AttachObjectToVehicle(obj, [rz]"); за SendClientMessage(playerid,-1,str); рулём"); new [rx] format(str, /objtoc new str[sizeof(fmt_string)-2*6+7*6];
C++:
obj [z] CreateObject(params[0],x,y,z,0.0,0.0,0.0); if(sscanf(params, GetPlayerPos(playerid,x,y,z); [IMG]https://test.pawno-crmp.ru/applications/core/interface/imageproxy/imageproxy.php?img=https://wiki.sa-mp.com/wroot/images2/thumb/6/6c/Vehicle_coordinate_system.jpg/180px-Vehicle_coordinate_system.jpg&key=ffd03d963d0981bab73e1cdd92e2c641f4eb3a726206aae6f4c5f5180359cace[/IMG] [/SPOILER] %i,%i,%i,%i,%i,%i);"; 2) [SPOILER] params[1],params[2],params[3],params[4],params[5],params[6]); [ry] { CMD:objtoc(playerid, "new if(GetPlayerState(playerid) params[]) obj AttachObjectToVehicle(obj, "Используйте: fmt_string[] GetPlayerVehicleID(playerid), [id format(str, fmt_string[] [x] const
new params[0],params[1],params[2],params[3],params[4],params[5],params[6])) = [y] str[sizeof(fmt_string)+5-2*4+7*3]; } sizeof(str),