SA-MP Forums Archive
/engine small problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /engine small problem (/showthread.php?tid=415288)



/engine small problem - Akcent_Voltaj - 12.02.2013

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..


Re: /engine small problem - Da_Noob - 12.02.2013

Just remove the

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


Re: /engine small problem - Akcent_Voltaj - 12.02.2013

fixed it!