House System - Vehicle?
#3

Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
	if(newstate == PLAYER_STATE_DRIVER)
	{
		for(new H = 0; H < MAXIMAL_HOUSES; H++)
		{
		    if(HouseVehicleId[H] == GetPlayerVehicleID(playerid))
		    {
		        if(strcmp(HouseOwner[H],PlayerName[playerid],false))
		        {
					RemovePlayerFromVehicle(playerid);
		        }
				break;
		    }
		}
	}
	return 1;
}
No work, i do print in strcmp but not printed... i use nick Brokenbreaken in game, in file owner its ImNewbie so why this dont work?
Reply


Messages In This Thread
House System - Vehicle? - by Brokenbreaken - 22.02.2013, 18:04
Re: House System - Vehicle? - by Calabresi - 22.02.2013, 18:14
Re: House System - Vehicle? - by Brokenbreaken - 22.02.2013, 18:22
Re: House System - Vehicle? - by Brokenbreaken - 22.02.2013, 18:26
Re: House System - Vehicle? - by Calabresi - 22.02.2013, 18:30
Re: House System - Vehicle? - by Brokenbreaken - 22.02.2013, 18:35
Re: House System - Vehicle? - by Calabresi - 22.02.2013, 18:38

Forum Jump:


Users browsing this thread: 1 Guest(s)