Zdravím napíšu vám sem co jsem "udělal" s admin warpem nějak mi nefunguje
Chyba:
D:\Documents and Settings\David\Dokumenty\Downloads\AdminZona.pwn(98) : error 017: undefined symbol "SendPlayerMessage"
D:\Documents and Settings\David\Dokumenty\Downloads\AdminZona.pwn(99) : error 030: compound statement not closed at the end of file (started at line 95)
Dotaz
Bgurf 2
Zdravím napíšu vám sem co jsem "udělal" s admin warpem nějak mi nefunguje
Chyba:
D:\Documents and Settings\David\Dokumenty\Downloads\AdminZona.pwn(98) : error 017: undefined symbol "SendPlayerMessage"
D:\Documents and Settings\David\Dokumenty\Downloads\AdminZona.pwn(99) : error 030: compound statement not closed at the end of file (started at line 95)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Celý kód
if (strcmp("/adminzona", cmdtext, true, 4) == 0)
{
if(IsPlayerAdmin(playerid) /*|| Podminka_Level_Adminu[playerid]*/) // Kontrola zda je admin
{
SetPlayerPos(playerid, 3050,1661,2); // Portne ho na pozici X,Y,Z
}else SendPlayerMessage(playerid, modra, "Nejsi admin."); // Když není admin napíše zprávu
Link to comment
Share on other sites
37 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now