Quote:
Originally Posted by Luka™
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)
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); }
Now do this
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { UnloadZBCText(playerid); return 1; }
pawn Код:
public OnPlayerSpawn(playerid) { LoadZBCText(playerid); return 1; }
|
Hey, nice idea. This is 10x better now, thanks!
Quote:
Originally Posted by Zinglish
I'd love to, maybe I'll do some more work on it
I've just been away from SA-MP, now I'm back on it...Anything you would like to see
|
Actually, I don't know... Maybe if you make this the "actual" server time. For example, IRL it's 10pm so the server time should be 10pm, corresponding with the weather and T.O.D... That would be a neat feature! Anyways, I will let you know I think of anything else!