Seatbelt problem
#1

Код:
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.
Reply
#2

https://sampwiki.blast.hk/wiki/TogglePlayerControllable

pawn Код:
if(Belt[playerid] == 1)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "First Unzip the belt");
TogglePlayerControllable(playerid,0);
return 1;
}
Reply
#3

Only thing is driver won't be able to put his belt on.
Reply
#4

Quote:
Originally Posted by JoeDaDude
https://sampwiki.blast.hk/wiki/TogglePlayerControllable

pawn Код:
if(Belt[playerid] == 1)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "First Unzip the belt");
TogglePlayerControllable(playerid,0);
return 1;
}
he can't move and i need him able to drive and not be frozen.
Reply
#5

Ah, Erm, Dunno xd
i can think of a way but its hard to explain,
And involves alot of coding
Reply
#6

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
Reply
#7

Il try
Reply
#8

Quote:
Originally Posted by JoeDaDude
Il try
thanks man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)