GetPlayerInterior

GetPlayerInterior
Uzima igracev interior.

Parametri:


 * playerid ID igraca kome se postavlja interior.

Return: ID interiora u kome se igrac trenutno nalazi.

public OnPlayerCommandText(playerid,text[]) {   if(strcmp(cmdtext,"/int",true) == 0) {       new string[128]; format(string, sizeof(string), "Vi ste u interioru %i",GetPlayerInterior(playerid)); SendClientMessage(playerid, 0xFF8000FF, string); return 1; }   return 0; }