12.01.2014, 14:16
guyys plzz help mee to make admin duty commmand plzzz.. i wana make it like when admin type /aduty .. all send message that he is on amin duty and he cant die also need chat buble on his head .. i made cmd but doesnt work i got erros
and this errors
Код:
if(!strcmp(cmdtext, "/aduty", true)) { if(!IsPlayerAdmin(playerid)); { SetPlayerColor(playerid, COLOR_BBLUE) SetPlayerChatBubble(playerid, "Administrator Dont Attack", 0xFF0000FF, 100.0, 10000); SetPlayerHealth(playerid, 9999999); SetPlayerArmour(playerid, 9999999); return 1; } }
Код:
C:\Documents and Settings\Holly-\Desktop\NighGame\gamemodes\NightGame.pwn(32462) : error 036: empty statement C:\Documents and Settings\Holly-\Desktop\NighGame\gamemodes\NightGame.pwn(32465) : error 001: expected token: ";", but found "-identifier-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.