19.01.2014, 11:37
hello guys I created dynamic faction cars and everything is okey but this code doesn't work help me please
PHP код:
if(newstate == 2)
{
for(new s = 0; s < sizeof(FactionAracBilgi); s++)
{
new Ara = GetPlayerVehicleID(playerid);
if(Ara != DFAracSpawn[s])
{
if(PlayerInfo[playerid][pFaction] == FactionAracBilgi[s][dFAracFaction]) return SendClientMessage(playerid,0xFFFFFF,"Bu aracın anahtarları sende yok."),RemovePlayerFromVehicle(playerid);
}}}