Seatbelt 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Seatbelt problem (
/showthread.php?tid=122477)
Seatbelt problem -
wordas - 22.01.2010
Код:
if(Belt[playerid] == 1)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "First Unzip the belt");
return 1;
}
i put this on Keystate Secondary_Attack, i need to make it so he wouldn't be able to leave the car if this condition is true.
Re: Seatbelt problem -
JoeDaDude - 22.01.2010
https://sampwiki.blast.hk/wiki/TogglePlayerControllable
pawn Код:
if(Belt[playerid] == 1)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "First Unzip the belt");
TogglePlayerControllable(playerid,0);
return 1;
}
Re: Seatbelt problem -
gotenks918 - 22.01.2010
Only thing is driver won't be able to put his belt on.
Re: Seatbelt problem -
wordas - 22.01.2010
Quote:
Originally Posted by JoeDaDude
|
he can't move and i need him able to drive and not be frozen.
Re: Seatbelt problem -
JoeDaDude - 22.01.2010
Ah, Erm, Dunno xd
i can think of a way but its hard to explain,
And involves alot of coding
Re: Seatbelt problem -
wordas - 22.01.2010
Quote:
Originally Posted by JoeDaDude
Ah, Erm, Dunno xd
i can think of a way but its hard to explain,
And involves alot of coding
|
it would be nice if you code it for me
Re: Seatbelt problem -
JoeDaDude - 22.01.2010
Il try
Re: Seatbelt problem -
wordas - 22.01.2010
Quote:
Originally Posted by JoeDaDude
Il try
|
thanks man