07.03.2015, 18:24
I want to add some cars to a certain faction and when I walk into play pushes me out of the car automatically.
I do not know how to make them.
I do not know how to make them.
PHP код:
new idcar = GetPlayerVehicleID(playerid);
if(IsGovermentCar(idcar))
{
if(GetPVarInt(playerid, "Member") == 3)
{
SendClientMessage(playerid, COLOR_WHITE, "Test");
PutPlayerInVehicle(playerid, idcar,0);
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Nu esti membru al guvernului !");
}
}