Szerző Téma: GetPlayerInterior(playerid)  (Megtekintve 687 alkalommal)

Nem elérhető Benceee

  • 4785
    • Profil megtekintése
GetPlayerInterior(playerid)
« Dátum: 2012. február 12. - 09:17:15 »
0 Show voters
GetPlayerInterior funkció:
           Lekérjük egy adott játékos interior ID-jét. Az interior ID-ket itt tekintheted meg.
Paraméterek:
 
(playerid)

 
playerid Az adott játékos azonosítója.
Visszatérés A játékos interior ID-je.
Példa a helyes használatra:
 
public OnPlayerCommandText(playerid,text[])
{
    if(strcmp(cmdtext,\"/int\",true) == 0)
    {
        new string[128];
        format(string, sizeof(string), \"Interior: %i\",GetPlayerInterior(playerid));
        SendClientMessage(playerid, 0xFF8000FF, string);
        return 1;
    }
    return 0;
}
« Utoljára szerkesztve: 2012. február 12. - 10:37:28 írta Yѕtee »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal