16.08.2010, 22:17
Hi [V]Fuse, xD, that wont work since you have to activate the Player controllable back again only when the timer has passed right?
This shoud be like this
And your Timer should be only once not repetitive (instead of that "1" put a "0"
This shoud be like this
pawn Код:
if(PlayerInfo[playerid][pCW] == 1)
{
TogglePlayerControllable(playerid, 0);
SetTimer("Control", 6000,1);
}
if(PlayerInfo[playerid][pCW] == 2)
{
TogglePlayerControllable(playerid, 0);
SetTimer("Control", 6000,1);
public Control()
{
if(PlayerInfo[playerid][pCW] == 2 || PlayerInfo[playerid][pCW] == 1 )
{
TogglePlayerControllable(playerid,1);
}