28.07.2010, 12:40
I'm having an issue here. For some apparent reason this command I made isn't working at all. I figure the issue is
"uud" . How can I fix this?
Code:
if (sscanf(params,"uud",Driver,Passenger,Seat))
Code:
dcmd_incar(playerid,params[]) { if(PlayerInfo[playerid][Level] >= 2) { new Driver,Seat,Passenger; if (sscanf(params,"uud",Driver,Passenger,Seat)) { SendClientMessage(playerid,0xFF0000FF, "Usage: \"/incar <PlayerID Driver> <PlayerID Passenger> <Seat>\""); } { new VehDr,VehPas; VehDr = GetPlayerVehicleID(Driver); VehPas = GetPlayerVehicleID(Passenger); if (VehDr>0) { PutPlayerInVehicle(VehDr,VehPas,Seat); }} } return 1; }