How do i fix this warning?
#1

I keep getting this warning and im guessing this is whats causing my gates to not move automatically

(87 : warning 202: number of arguments does not match definition
(87 : warning 202: number of arguments does not match definition
(879) : warning 202: number of arguments does not match definition
(879) : warning 202: number of arguments does not match definition

The lines giving these errors are marked below

pawn Код:
public GateCheck()
{
    new admingate1Open;
    for(new playerid; playerid<MAX_PLAYERS; playerid++)
    {
    if(IsPlayerInRangeOfPoint(playerid,5.0,2220.3957,-1139.3205,25.6949))admingate1Open=1;
    }
    //AdminGate Los Santos
 ERROR GIVEN HERE   if(admingate1Open)MoveObject(admingate1,2227.763428, -1146.743164, 26.401253, 0.0000, 0.0000, 341.9518); //These are the coordinates of the gate if it were in it's opened state.
  AND HERE  else MoveObject(admingate1,2220.218018, -1144.315796, 26.401253, 0.0000, 0.0000, 341.9518);//These are the coordinates of the gate if it were in it's closed state.
   
}
Thanks for any of you who try to help me out
Reply


Messages In This Thread
How do i fix this warning? - by Stryke - 22.08.2010, 10:07
Re: How do i fix this warning? - by Typhome - 22.08.2010, 10:18
Re: How do i fix this warning? - by dax123 - 22.08.2010, 10:21
Re: How do i fix this warning? - by Stryke - 22.08.2010, 10:31
Re: How do i fix this warning? - by SaW_[VrTx] - 22.08.2010, 10:31
Re: How do i fix this warning? - by Stryke - 22.08.2010, 10:41
Re: How do i fix this warning? - by Stryke - 22.08.2010, 10:44

Forum Jump:


Users browsing this thread: 1 Guest(s)