Simple question
#6

His icon is going miles away indeed... if u enter LSPD ur icon will be somewhere near a farm near blueberry :P
but thats the interior co-ordinates... those are Sky high... you cant reach them in interior 0 since there are no interiors in 0... just small things though..
u can do this:
Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
new color;
color = GetPlayerColor(playerid);
if(newinteriorid == 0)
{
SetPlayerColor(playerid,color);
return 1;
}
else if(newinteriorid >= 1)
{
SetPlayerColor(playerid,0xFFFFFF00); // according to bessensap its invisible
}
return 1;
}
This code will set the players colour invisible on the radar and white in the chatbox.
When they change their interior, the colour is getting saved, then when the interior they are going is 0 the colour will be set back to the saved one and when the new interior is not 0 but higher or matched to 1 it will set the player invisible on the radar so u dont see icon miles away
Reply


Messages In This Thread
Simple question - by ZamaXor - 01.11.2010, 19:30
Re: Simple question - by Kwarde - 01.11.2010, 19:35
Re: Simple question - by Bessensap - 01.11.2010, 19:36
Re: Simple question - by ZamaXor - 01.11.2010, 19:43
Re: Simple question - by Scripter123 - 01.11.2010, 19:52
Re: Simple question - by Mike_Peterson - 01.11.2010, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)