10.10.2017, 16:29
sry for all caps but i want to attract people
so i made this:
so if youre not from grove street you cant go to GSFvehicle
but problem is that even if youre in gsf you cant enter it
is there a way to allow it? like
if(PlayerInfo[playerid][pOrg] == 1)
{
EnterVehicle
}
i know it sounds cringey but is there command like entervehicle or such that is suitable for OnPlayerEnterVehicle??
so i made this:
PHP код:
for(new j = 0; j < sizeof(GsfCar); j ++)
{
if(vehicleid == GsfCar[j] && PlayerInfo[pInfo][pOrgID] <= 0)
{
ClearAnimations(playerid);
GameTextForPlayer(playerid,"~r~ GROVE STREET FAMILIES",1250,4);
}
else if(PlayerInfo[pInfo][pOrgID] > 1)
{
ClearAnimations(playerid);
GameTextForPlayer(playerid,"~r~ GROVE STREET FAMILIES",1250,4);
}
}
return 1;
}
but problem is that even if youre in gsf you cant enter it
is there a way to allow it? like
if(PlayerInfo[playerid][pOrg] == 1)
{
EnterVehicle
}
i know it sounds cringey but is there command like entervehicle or such that is suitable for OnPlayerEnterVehicle??