[Include] [INC] Basic Clock plus Access 2 (Coal)
#21

I changed my game mode, still not working. "fatal error 100: cannot read from file: "ZBCplusAccess"

Couldn't just give me the .amx? I want to see it working on my gamemode at least 1 time
Reply
#22

It works just fine for me...Here's an error I get if I misspell the include:

Код:
F:\Games\GTA San Andreas\gamemodes\supermania.pwn(4) : fatal error 100: cannot read from file: "ZBCplusAcces"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Please post the FULL path to where you put ZBCplusAccess.inc and post your path to your pawno.cc that you use to compile

It might be that you are using a different compiler than your actual Pawno directory. Other than this, it should work!!!
Reply
#23

Like I said before in the LuxAdmin post, I downloaded the .inc and the compiled .amx and errors stopped.

C:\Documents and Settings\*********\Desktop\Game 03a\pawno\ < < < - Pawno Directory

C:\Documents and Settings\*********\Desktop\Game 03a\pawno\include < < < - Include Directory

Top of my script:

#include <a_samp>
#include <IsPlayerLAdmin>
#include <ZBCplusAccess>


Edit: I searched for "cannot read from file error 100" and ALOT of other people have their includes in the proper folder, they have done #include<name> AND they all get the same error as I do, and the same responses you guys have given me, perhaps this is a pawno bug? Or a pawnocc bug??

================================================== ===============================================

Edit 2:

According to this post:
http://forum.sa-mp.com/index.php?topic=126183.0

1. I checked the .inc was there
2. Yes then go to Pawno folder again and open pawno.exe
3. Click on open file and browse your file to be compiled
4. Try to compile and i think it did.

I reloaded the old filterscript and the old .inc and everything works fine

Just have to change the IsPlayerAdmin to IsPlayerLuxAdmin==5 or whatever.

And that led me to this: http://forum.sa-mp.com/index.php?topic=128853.0
Reply
#24

Glad you finally got it working

You should use the new ZBCplusAccess, it doesn't need an FS...
Reply
#25

I got these errors
Код:
\filterscripts\Clock.pwn(214) : error 004: function "OnZBCDayChange" is not implemented
\filterscripts\Clock.pwn(242) : error 004: function "OnZBCTimeTick" is not implemented
Whats wrong?
Reply
#26

Quote:
Originally Posted by Zinglish
- Anywhere, just not in any Callbacks
Код:
public OnZBCTimeTick()
{

}

public OnZBCDayChange()
{

}
make sure you have read the entire first post, this includes Installaton notes...
Reply
#27

How can I get my white clock numbers --:-- the same color as the MTWTFSS when they are not blue.

When I do ZBC_COLOR_GREY it comes out dark grey.

The white numbers on time make it stick out like fake teeth lol
Reply
#28

Can you post a screenshot? If you post one, I'll be able to match the colors for you...
Reply
#29

Hope you don't mind I made the letters a bit bigger and in their previous position MTWTFSS conflicts with the armor.



The time (ZBC_COLOR_WHITE) is a little whiter than date text (ZBC_COLOR_GREY) and when I change time to ZBC_COLOR_GREY it turns out dark grey.

Thanks in advance, amazing clock script keep up the great work
Reply
#30

Quote:
Originally Posted by ducati09
Hope you don't mind I made the letters a bit bigger and in their previous position MTWTFSS conflicts with the armor.



The time (ZBC_COLOR_WHITE) is a little whiter than date text (ZBC_COLOR_GREY) and when I change time to ZBC_COLOR_GREY it turns out dark grey.

Thanks in advance, amazing clock script keep up the great work
That looks really good. Could you send me that? I like how you added those updates...
Reply
#31

I have tried to change it, they are both default color, but they both are not the same shade of grey, I also noticed on CnR that this was also the same...
Reply
#32

Ah well on to other gamemode features. thanks
Reply
#33

Before you say it, yes, I know I am bumping this topic.

Why don't you update this, or make something better? I enjoy using this.
Reply
#34

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
Reply
#35

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;
}
Reply
#36

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!
Reply
#37

very nice:Pbut is there version with hours not minutes?thanks.
Reply
#38

Quote:
Originally Posted by Fog™
very nice:Pbut is there version with hours not minutes?thanks.
GTA San Andreas
1 hour = 1 IRL minute
1 minute = 1 IRL second

Thats how it works... nothing much to explain
Go to singleplayer and you will see what I mean
Reply
#39

i know that,but is there any version where there is real hours?
Reply
#40

Nice!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)