Cmd help
#3

Quote:
Originally Posted by Rachael
Посмотреть сообщение
0 ( false ) means the player is frozen
1 ( true ) means the player is not frozen
Yes it should work then.. but i prob, found the problem i added a timer when you enter the car
only after X seconds it freeze

pawn Код:
forward Control(playerid);
pawn Код:
public Control(playerid)
    {
    TogglePlayerControllable(playerid, 0);
    return 1;
    }
pawn Код:
if(strmatch(VehicleSystem[IsBuyableCar[vehicleid]][Owner],"Unbought"))
            {
            format(string,sizeof(string),"[ » ] Vehicle ID:  %d / Name: %s / Price: %d$ !",VehicleSystem[IsBuyableCar[vehicleid]][CarID],VehicleSystem[IsBuyableCar[vehicleid]][Name],VehicleSystem[IsBuyableCar[vehicleid]][Price]);
            SendClientMessage(playerid,COLOR_GREY,string);
            SetTimerEx("Control",3000,1,"i",playerid);
            }
think there is a problem with that.. but cant see what
and i tryed add a "return 1;" didnt work..
Reply


Messages In This Thread
Cmd help - by FrankC - 04.10.2010, 11:31
Re: Cmd help - by Rachael - 04.10.2010, 11:45
Re: Cmd help - by FrankC - 04.10.2010, 11:53
Re: Cmd help - by DevilG - 04.10.2010, 11:54
Re: Cmd help - by FrankC - 05.10.2010, 13:35
Re: Cmd help - by LarzI - 05.10.2010, 15:24
Re: Cmd help - by FrankC - 05.10.2010, 17:18

Forum Jump:


Users browsing this thread: 1 Guest(s)