24.09.2012, 03:14
Yeah that fixed it! My mistake.
Thanks.
Could you also give me a hand on this one, I'm getting errors. With ZCMD.
errors:
C:\Users\matthew\Desktop\V2 NG LS;RP\filterscripts\avs.pwn(1614) : error 035: argument type mismatch (argument 2)
C:\Users\matthew\Desktop\V2 NG LS;RP\filterscripts\avs.pwn(1614) : error 035: argument type mismatch (argument 2)
C:\Users\matthew\Desktop\V2 NG LS;RP\filterscripts\avs.pwn(1616) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
Thanks.
Could you also give me a hand on this one, I'm getting errors. With ZCMD.
pawn Код:
CMD:vplate(playerid, params[])
{
new inputtext;
if(sscanf(params, "d", inputtext)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /vplate [text]");
new id = GetPlayerVehicleID(playerid);
new vehicleid = VehicleID[id];
strmid(VehicleNumberPlate[id], inputtext, 0, sizeof(VehicleNumberPlate[]));
SaveVehicle(id);
SetVehicleNumberPlate(vehicleid, inputtext);
SetVehicleToRespawn(vehicleid);
new msg[128];
format(msg, sizeof(msg), "You have changed vehicle number plate to %s", inputtext);
SendClientMessage(playerid, COLOR_WHITE, msg);
return 1;
}
C:\Users\matthew\Desktop\V2 NG LS;RP\filterscripts\avs.pwn(1614) : error 035: argument type mismatch (argument 2)
C:\Users\matthew\Desktop\V2 NG LS;RP\filterscripts\avs.pwn(1614) : error 035: argument type mismatch (argument 2)
C:\Users\matthew\Desktop\V2 NG LS;RP\filterscripts\avs.pwn(1616) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.

