Questions.
#2

pawn Код:
ShowPlayerDialog(playerid, 99, DIALOG_STYLE_LIST, "GPS:", gpsstr, "Choose", "Cancel");
Show gpsstr

FIXED sscanf
pawn Код:
dcmd_v(playerid,params[])
{
   #pragma unused params
   new vehid;
   new color1;
   new color2;
   if(sscanf(params,"iii",vehid,color1,color2)) return SendClientMessage(playerid, COLOR_ERROR, "Usage: /v [vehicleid] [color1] [color2]");
   new Float:x,Float:y,Float:z,Float:ang;
   GetPlayerFacingAngle(playerid,ang);
   GetPlayerPos(playerid,x,y,z);
   CreateVehicle(vehid,x+1,y+1,z+1,ang,color1,color2,60);
   return 1;
}
Reply


Messages In This Thread
Questions. - by _Khaled_ - 29.08.2012, 11:02
Re: Questions. - by [MM]RoXoR[FS] - 29.08.2012, 11:16
Re: Questions. - by _Khaled_ - 29.08.2012, 11:22
Re: Questions. - by romas3110 - 29.08.2012, 11:24
Re: Questions. - by _Khaled_ - 29.08.2012, 11:49
Re: Questions. - by romas3110 - 29.08.2012, 12:01
Re: Questions. - by _Khaled_ - 29.08.2012, 12:10
Re: Questions. - by _Khaled_ - 29.08.2012, 12:42

Forum Jump:


Users browsing this thread: 2 Guest(s)