04.10.2010, 11:53
Quote:
0 ( false ) means the player is frozen
1 ( true ) means the player is not frozen |
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);
}
and i tryed add a "return 1;" didnt work..