Help with my server
#3

Here are the codes
Код:
  incar[playerid] = true;
    TeleportTime[playerid] = 10;
	GetVehiclePos(vehicleid, ReadPlayerPosition[playerid][ReadX], ReadPlayerPosition[playerid][ReadY], ReadPlayerPosition[playerid][ReadZ]);
	if(vehicleid >=1 && vehicleid <68)
	{
	    if(vehicleid ==PlayerInfo[playerid][Housekey] || (ispassenger == 1)){}
	    else
	    {
	        TogglePlayerControllable(playerid,0);
			SetTimerEx("UnfreezeTime", 10, false, "d", playerid);
	        SendClientMessage(playerid,-1,"  You have no permission to drive this car. Rent a room at the owner's house first!");
	    }
	}
Reply


Messages In This Thread
Help with my server - by KiM0Ro - 23.03.2015, 18:10
Re: Help with my server - by MrCallum - 23.03.2015, 18:18
Re: Help with my server - by KiM0Ro - 23.03.2015, 19:51
Re: Help with my server - by CalvinC - 23.03.2015, 19:58
Re: Help with my server - by Fantje - 23.03.2015, 19:59

Forum Jump:


Users browsing this thread: 1 Guest(s)