CMD:cc(playerid,params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,\"Nem vagy admin!\");
for (new i; i < 80; ++i) SendClientMessageToAll(-1, \" \");
return 1;
}
Köszönöm a segítséget
Dupla hozzászólás automatikusan összefûzve. ( 2013. március 12. - 16:58:32 )
de errort ír valami nem jó :S
C:\\Documents and Settings\\Rendszergazda\\Dokumentumok\\cc.pwn(3) : warning 235: public function lacks forward declaration (symbol \"OnGameModeInit\")
C:\\Documents and Settings\\Rendszergazda\\Dokumentumok\\cc.pwn(3) : error 017: undefined symbol \"cc\"
C:\\Documents and Settings\\Rendszergazda\\Dokumentumok\\cc.pwn(5) : error 017: undefined symbol \"IsPlayerAdmin\"
C:\\Documents and Settings\\Rendszergazda\\Dokumentumok\\cc.pwn(5) : error 017: undefined symbol \"SendClientMessage\"
C:\\Documents and Settings\\Rendszergazda\\Dokumentumok\\cc.pwn(6) : error 017: undefined symbol \"SendClientMessageToAll\"
C:\\Documents and Settings\\Rendszergazda\\Dokumentumok\\cc.pwn(11) : error 030: compound statement not closed at the end of file (started at line 3)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.