20.01.2008, 15:46
Where do i need to add this:
1. Put GZ_LoadLGZ(); in OnGameModeInit
1. Put GZ_LoadLGZ(); in OnGameModeInit
Код:
public OnGameModeInit()
{
new temp, Hour, Minute, Seconds;
format(ScriptVersion, sizeof(ScriptVersion), "3.4.0");
format(strings, sizeof(strings), "Nitro's Freeroam v%s", ScriptVersion);
SetGameModeText(strings);
gettime(Hour, Minute, Seconds);
if(Hour < 10) {
format(SystemTime, sizeof(SystemTime), "0%d",Hour);
} else {
format(SystemTime, sizeof(SystemTime), "%d",Hour);
}
if(Minute < 10) {
format(SystemTime, sizeof(SystemTime), "%s:0%d",SystemTime,Minute);
} else {
format(SystemTime, sizeof(SystemTime), "%s:%d",SystemTime,Minute);
}
format(strings, sizeof(strings), "System time: %s", SystemTime);
printf(strings);
ShowPlayerMarkers(1);
ShowNameTags(1);

