06.04.2017, 18:52
Hello,
any ideas, how can i check if a player is in the Right interrior. So far, i know how, but seems, some Interriors has same ID's. Also i'm want to give a "Name" for the Right interrior id.
I'm found some ID's on this webpage, but seem's some interrior's have the same ID's. How can i know, if the Right ID's and text, will be picked up? Or i did, something wrong, and there is a other way?
For example
Thanks a lot!
any ideas, how can i check if a player is in the Right interrior. So far, i know how, but seems, some Interriors has same ID's. Also i'm want to give a "Name" for the Right interrior id.
I'm found some ID's on this webpage, but seem's some interrior's have the same ID's. How can i know, if the Right ID's and text, will be picked up? Or i did, something wrong, and there is a other way?

For example
Код HTML:
new interiorID = GetPlayerInterior(playerid);
if(interiorID == 15 || interiorID == 3 || interiorID == 15)
{
SendClientMessage(playerid, COLOR, "* Hah, go inside first!");
return 1;
}
else if(interiorID == 15) dyrikz = "Jefferson motel";
else if(interiorID == 3) dyrikz = "Bike School";
else if(interiorID == 15) dyrikz = "Bloodbowl";
new zin[450];
format(zin,sizeof(zin),"*You are in %s",interior);
return 1;
}

