/engine small problem
#1

if i enter rcon then all players can do /engine

PHP код:
if(IsAnOwnableCar(vehid) && CarInfo[vehid][cOwned] == && !IsPlayerAdmin(playerid))
                    {
                        
SetVehicleParamsEx(vehicleid,0,lightsalarmdoors,bootbonnetobjective);
                        
SendClientMessage(playeridCOLOR_RED"Nu poti da /engine!");
                        return 
1;
                    } 
Translator:Nu poti da /engine
English:You cant type /engine

if you need rep il give you..
Reply
#2

Just remove the

pawn Код:
!IsPlayerAdmin(playerid)
I think that should fix it.
Reply
#3

fixed it!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)