CMD wont work
#1

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
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);
Reply


Messages In This Thread
CMD wont work - by thefatshizms - 06.06.2012, 15:45
Re: CMD wont work - by lewismichaelbbc - 06.06.2012, 15:51
Re: CMD wont work - by MadeMan - 06.06.2012, 15:59
Re: CMD wont work - by thefatshizms - 06.06.2012, 16:20

Forum Jump:


Users browsing this thread: 2 Guest(s)