need help with PPC_TRUCKING
#6

Use it under onplayerstatechange
if(GetPlayerVehicleID(playerid) == 520 || GetPlayerVehicleID(playerid) == hunter vehicle id || GetPlayerVehicleID(playerid) == rhino vehicle id)
{
if(//here team name of those who will not allow to get in these vehicles== 1)
{
new Float: x , Float: y , Float: z;
GetPlayerPos(playerid, x,y,z);
SetPlayerPos(playerid, x,y 1.0,z);
SendClientMessage(playerid, color, "your error message here");
};
};
Reply


Messages In This Thread
need help with PPC_TRUCKING - by kjek98 - 23.08.2013, 17:22
[No subject] - by Baumann - 23.08.2013, 17:31
Re: need help with PPC_TRUCKING - by kjek98 - 23.08.2013, 17:42
Re: need help with PPC_TRUCKING - by kjek98 - 23.08.2013, 17:53
Re: need help with PPC_TRUCKING - by kjek98 - 24.08.2013, 18:34
Re: need help with PPC_TRUCKING - by PrinceKumar - 24.08.2013, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)