#1

public OnPlayerStateChange(playerid, newstate, oldstate){
airbreakcount[playerid]=0;
if(oldstate == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid," ",100,5);
}
if(newstate == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"jbjbjb",1000,5);
new vehicleid = GetPlayerVehicleID(playerid);
new modelis = GetVehicleModel(vehicleid);
if(modelis == 481 || modelis == 509 || modelis == 510)
{



Why gametext GameTextForPlayer(playerid,"jbjbjb",1000,5); not appear on all machines? only on a couple cars??

sorry my bad english.
Reply
#2

Did you enter all the machines (vehicles I guess) as the driver?
And why you don't use "OnPlayerEnterVehicle(playerid, vehicleid)". It'll be called when a player enters a vehicle :P
Reply
#3

yes, Because if i press enter it shows text or dialog or.. earlier
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)