22.08.2010, 10:07
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
Thanks for any of you who try to help me out
(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.
}