11.06.2012, 20:25
I wish to use the following callback
But I get an error that fX, fY and fZ are being shadowed by a global variable. I have fX, fY and fZ variables in my faction enumerations and changing them all would take a lot of time. Is there a way to change the callback to use differently named variables?
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
if(PlayerInfo[playerid][pAdmin] > 1 || IsPlayerAdmin(playerid))
{
SetPlayerPosFindZ(playerid, mX, mY, 100);
}
return 1;
}