Just Courious - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Just Courious (
/showthread.php?tid=190360)
Just Courious -
marinov - 15.11.2010
I have this :
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
if(StarsCar[0] <= vehicleid <= StarsCar[1])
if(team[playerid] != 6)
ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
if(UCCars[0] <= vehicleid <= UCCars[1])
if(team[playerid] != 7)
ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not U.C.");
return 1;
}
But I try to enter a vehicle as a passenger and it won't allow me. How do I change that ?
Re: Just Courious -
The_Moddler - 15.11.2010
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
if(StarsCar[0] <= vehicleid <= StarsCar[1])
if(team[playerid] != 6)
SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
if(UCCars[0] <= vehicleid <= UCCars[1])
if(team[playerid] != 7)
SendClientMessage(playerid,GREEN,"You're not U.C.");
return 1;
}
Re: Just Courious -
iggy1 - 15.11.2010
Hmm im getting a feeling of deja vu, You shouldn't post multiple topics about the same thing or bump your topics (within 12 hours of last post). I think someone needs to read the rules.
Re: Just Courious -
marinov - 15.11.2010
is different, I just made this one to learn bro