19.08.2012, 07:04
pawn Код:
COMMAND:acid(playerid, params[])
{
SetPlayerWeather(playerid,90);
//You will need SetTimerEx if you want to make change for the same
//player that typed /acid.
SetTimerEx("NormalWeather",40000,false,"i",playerid);
//Else if you want to make change for all
//use SetTimer("NormalWeather",40000,false);
SetPlayerDrunkLevel(playerid, 3000);
SetPlayerTime(playerid, 7, 00);
SendClientMessage(playerid,0x43EE11FF,"You are on the effects of ACID drug now! Drink /coffee to stop hallucinating!");
return 1;
}
forward NormalWeather(playerid);//If you are using SetTimerEx
//Else forward NormalWeather();
public NormalWeather(playerid)//public NormalWeather() if used SetTimer
{
//Your code
return 1;
}