07.07.2015, 12:04
Hey, I am using the NGG script and I am wondering, how could I remove the 'You need to be in *faction* to drive this vehicle.' -notification for group type 'Contract Agency', the code for contract agency is the following:
The code under is the one which gives the notification if you are not part of the correct faction.
Код:
[g_iGroupType] == 2
Код:
{ RemovePlayerFromVehicle(playerid); SetPlayerPos(playerid, slx, sly, slz+1.3); defer NOPCheck(playerid); format(string, sizeof(string), "You need to be in %s to drive this vehicle.", arrGroupData[DynVehicleInfo[DynVeh[vehicleid]][gv_igID]][g_szGroupName]); SendClientMessageEx(playerid, COLOR_GRAD2, string); }