FANDOM


Ovaj callback se poziva kada igrac pritisne na neko odrediste na mapi (ESC Menu) ali samo desnim klikom misa.

Parametri Edit

(playerid, Float:fX, Float:fY, Float:fZ)
playerid - ID igraca koji koristi mapu
FLoat:fX - X pozicija lokacije
FLoat:fY - Y pozicija lokacije
FLoat:fZ - Z pozicija lokacije
Return - Ovaj callback ne vraca specificnu vrednost

Primeri Edit

public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
    SetPlayerPosFindZ(playerid, fX, fY, fZ); 
    return 1;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.