if(Player[playerid][OnDuty])
{
Player[playerid][OnDuty] = false;
SetPlayerColor(playerid, COLOR_ADMIN);
SendClientMessage(playerid, COLOR_GREEN, " ›› |info| Nie jesteś już na służbie. By powrócić do służby ponownie wpisz /admlog .");
}
else
{
Player[playerid][OnDuty] = true;
SendClientMessage(playerid, COLOR_GREEN, " ›› |info| Jesteś na służbie. Jeśli nie chcesz być na służbie ponownie wpisz /admlog .");
}
return 1;
}[/code]
Błąd
C:Documents and SettingsComputerPulpitSAMPgamemodesPTS.pwn(255) : error 017: undefined symbol "Player"
C:Documents and SettingsComputerPulpitSAMPgamemodesPTS.pwn(255) : warning 215: expression has no effect
C:Documents and SettingsComputerPulpitSAMPgamemodesPTS.pwn(255) : error 001: expected token: ";", but found "]"
C:Documents and SettingsComputerPulpitSAMPgamemodesPTS.pwn(255) : error 029: invalid expression, assumed zero
C:Documents and SettingsComputerPulpitSAMPgamemodesPTS.pwn(255) : fatal error 107: too many error messages on one line
Mam serwer i w logach wyskakuje mi taka informacja (tylko na moich mapach na innych nie robi się tak):
Co to może być.
Mam podejrzenia co do tego ponieważ jak testowałem textdraw to mi rozmieszczało po całym ekranie napisy z niego. Jak na innych mapach próbowałem to nie robiło tak jak na moich mapach.