10.06.2010, 19:23
Thanks man, this is fucking awesome!
Heres one snippet by the way
Add this to your ZBC include (or inside your script, AFTER INCLUDING ZBC)
Now do this
Heres one snippet by the way
Add this to your ZBC include (or inside your script, AFTER INCLUDING ZBC)
pawn Код:
stock UnloadZBCText(playerid)
{
TextDrawHideForPlayer(playerid, TextZBC);
TextDrawHideForPlayer(playerid, TextMonday);
TextDrawHideForPlayer(playerid, TextTuesday);
TextDrawHideForPlayer(playerid, TextWednesday);
TextDrawHideForPlayer(playerid, TextThursday);
TextDrawHideForPlayer(playerid, TextFriday);
TextDrawHideForPlayer(playerid, TextSaturday);
TextDrawHideForPlayer(playerid, TextSunday);
}
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
UnloadZBCText(playerid);
return 1;
}
pawn Код:
public OnPlayerSpawn(playerid)
{
LoadZBCText(playerid);
return 1;
}