- 0
Spijin ceas
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
fytza
Nick:fytza
Problema: errori am dat compile si imi da :
Erori / warnings:
[pawn]C:\Users\Gabii\Desktop\rpg.pwn(61967) : error 017: undefined symbol "FALSE"
C:\Users\Gabii\Desktop\rpg.pwn(61968) : error 017: undefined symbol "FALSE"
C:\Users\Gabii\Desktop\rpg.pwn(61971) : error 017: undefined symbol "FALSE"
C:\Users\Gabii\Desktop\rpg.pwn(61990) : error 017: undefined symbol "FALSE"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
[/pawn]
Lini/script:
[pawn]public RemiX_Time_Tools()
{
//News
new ServerHour, ServerMinute, ServerSecond;
new Year, Month, Day, string3[152];
//Gets
gettime(ServerHour,ServerMinute,ServerSecond);
getdate(Year, Month, Day);
//TextDraw Clock
TextDrawSetFormat(TextdrawHour, "%02d", ServerHour);
TextDrawSetFormat(TextdrawMinute, ":%02d", ServerMinute);
//TextDraw Day
TextDrawSetFormat(TextdrawDay, "%02d", Day);
//Weather Changer
if(ServerMinute == 0 && PayDayDat == 0)
{
PayDay();
PayDayDat = 1;
}
if(ServerMinute == 2 && PayDayDat == 1)
{
PayDayDat = 0;
}
if(ServerMinute == 0 && ServerSecond == 1) //When a new hour starts. The one second is to prevent a bug.
{
new string[128];
format(string, sizeof(string), "Este ora %02d.Vremea a fost schimbata.",ServerHour);
SendClientMessageToAll(YELLOW, string);
printf("The weather is changed. [%02d:%02d:%02d]",ServerHour, ServerMinute, ServerSecond);
format(string3, sizeof string3, "%d/%d/%d", Day, Month, Year);
TextDrawSetFormat(TextdrawDay, string3);
}
return 1;
}[/pawn]
Ai incercat sa rezolvi singur ?:da..
Link to comment
Share on other sites
3 answers to this question
Recommended Posts