Please help! - 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: Please help! (
/showthread.php?tid=446720)
Please help! -
GrandMasterX - 27.06.2013
As it is, and lock the car, and when the player goes "f" car says if it's locked all the way, but when I press the "g" is no writing and just sit in the car??
How to fix that and the "g" is written if the de locked him out just like "f" ...
This is line
Код:
if(Vozila[vehicleid][COCar] == true && !ispassenger && !IsVehicleRCVehicle(vehicleid))
{
if(Vozila[vehicleid][Locked] == false)
{
if(strcmp(ImeIgraca(playerid), Vozila[vehicleid][Vlasnik], true) == 0)
{
}
else
{
format(string, sizeof string, "{00FFEE}Privatni automobil{FFFFFF} |{F81414} Zakljucan{FFFFFF} |{FFF1AF} Vlasnik: %s", Vozila[vehicleid][Vlasnik]); // {00C0FF}[Automobil] {F81414}[Zakljucan] {FFFFFF}Vlasnik: %s
SCM(playerid, BELA, string);
AC_BS_SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
ClearAnimations(playerid);
}
}
}
Im bosnian sory for bad english
Re: Please help! -
Snipa - 27.06.2013
Код:
if(Vozila[vehicleid][COCar] == true && !ispassenger && !IsVehicleRCVehicle(vehicleid))
remove: