Szerző Téma: cc  (Megtekintve 453 alkalommal)

Nem elérhető ZSOLTI99

  • 1827
    • Profil megtekintése
cc
« Dátum: 2013. Március 11. - 20:23:17 »
0 Show voters
Üdv. szeretnék kérni egy chat tisztítót törli a chat de csak admin tudja használni.
Köszönöm a segítséget

Nem elérhető Benceee

  • 4785
    • Profil megtekintése
cc
« Válasz #1 Dátum: 2013. Március 11. - 20:26:41 »
0 Show voters
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;
}

Nem elérhető ZSOLTI99

  • 1827
    • Profil megtekintése
cc
« Válasz #2 Dátum: 2013. Március 12. - 16:47:26 »
0 Show voters
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.
« Utoljára szerkesztve: 2013. Március 12. - 16:58:32 írta ZSOLTI99 »

Nem elérhető Benceee

  • 4785
    • Profil megtekintése
cc
« Válasz #3 Dátum: 2013. Március 13. - 08:17:33 »
0 Show voters
#include <zcmd>

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal