21.08.2010, 21:42
(
Last edited by Stryke; 21/08/2010 at 10:45 PM.
)
The other problem was fixed now i got another
The lines i have marked above are giving the warning i pasted below
warning 202: number of arguments does not match definition
another question i got is, why is my gate tilted sideways when i approach it instead of moving to the open coord that i have saved ?
Thanks for your help guys much appreciated
pawn Code:
public GateCheck()
{
new admingate1Open;
for(new playerid; playerid<MAX_PLAYERS; playerid++)
{
if(IsPlayerInRangeOfPoint(playerid,10.0,2220.3957,-1139.3205,25.6949))admingate1Open=1;
}
//MyGate1
//this line is giving the error if(admingate1Open)MoveObject(admingate1,2227.585693, -1146.666138, 26.401253); //These are the coordinates of the gate if it were in it's opened state.
// so is this one else MoveObject(admingate1,2220.193115, -1144.315796, 26.401253);//These are the coordinates of the gate if it were in it's closed state.
}
warning 202: number of arguments does not match definition
another question i got is, why is my gate tilted sideways when i approach it instead of moving to the open coord that i have saved ?
Thanks for your help guys much appreciated