02.07.2011, 13:01
pawn Код:
public OnPlayerSpawn(playerid)
{
SetTimer("toilet", 3600000, true);
return 1;
}
forward toilet(playerid);
public toilet(playerid)
{
SendClientMessage(playerid, COLOR_RED, "Your blather is full, you need to go to the toilet quick!((You got 5 minutes))");
SetTimer("Hastogo", 300000, false);
}
forward Hastogo(playerid);
public Hastogo(playerid)
{
SendClientMessage(playerid, COLOR_RED, "You could not hold it in anylonger! You've started to urinate!");
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, COLOR_RED, "Quick, get out! You dont want to pee all over de car seat dont you?");
}
else
{
SetPlayerSpecialAction(playerid, 68);
}
return 1;
}
The name with settimer must have ex: " timerblabla" you missed them. And no problem
Happy to help