03.09.2014, 07:44
Is there anyway that I can let players go to there map in the main menu and then save the spot they right click ?
OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
SetPlayerPosFindZ(playerid, fX, fY, fZ);
return 1;
}
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { if(Player[playerid] [pAdmin] >=1) { SetPlayerPos(playerid,fX,fY,fY); } else { SendClientMessage(playerid,COLOR_RED,"[SERVER]:You are not allowed to use this command"); } return 1; } |