#1

Код HTML:
#define ZBAN(%0,%1) SendClientMessage(%0, 0xFFFFFFAA, "{FF0000}X: {FFFFFF}The Player %0 as been banned. (Resson: %1)"); BanEx(%0,%1);
Error
Код HTML:
error 036: empty statement
Error Line:
Код HTML:
ZBAN(playerid, "Nothing");
Reply
#2

wich command system do you use ? i can fix it
Reply
#3

strcmp

fixed
Код:
#define ZBAN(%0,%1) SendClientMessage(%0, 0xFFFFFFAA, "{FF0000}X: {FFFFFF}The Player %0 as been banned. (Resson: %1)"); BanEx(%0,%1)
I fixed this, and now i have other problem
is not show the ban message
Reply
#4

PHP код:
public OnPlayerCommandText(playeridcmdtext[]) 
PHP код:

    
if(!strcmp(cmdtext"/ZBAN"true5))
    {
        if(!
cmdtext[5])return SendClientMessage(playerid0xFF0000FF"USAGE: /ZBAN " 'ID' 'time'  or write here what u want as USAGE");
        .(your ban code here .. )
        .(your ban code here .. )
        .(your ban code here .. )
        return 1;
    }
    return 0; 
good luck
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)