06.06.2012, 15:45
hi got a cmd i made in like 1 min lol its not working maybe because the warning as i think i wrote it wrong lol
C:\Users\iphone\Desktop\0.3e\filterscripts\Event_F s.pwn(104) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
error line
pawn Код:
CMD:fix(playerid, params[])
{
new id;
new currentveh;
currentveh = GetPlayerVehicleID(id);
if(sscanf(params,"u",id)) return SendClientMessage(playerid, -1, "USAGE;/fix [id]");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "this player isnt connected!");
SetVehicleHealth(id, currentveh, 100);
return 1;
}
C:\Users\iphone\Desktop\0.3e\filterscripts\Event_F s.pwn(104) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
error line
pawn Код:
SetVehicleHealth(id, currentveh, 100);