14.06.2014, 07:00
yesterday i was editing a gamemode i try to make a command /adminteam(/ateam)
that will show a list of staff team in a dialog box ..but its showing error ...
PWN CODE:-
COMMAND:ateam(playerid,params[])
{
ShowPlayerDialog(playerid,SERVER,DIALOG_STYLE_MSGB OX, "COD ADMIN TEAM","WELCOME\n-SERVER OWNER:-iBlackBuzz,Priyansh,Micheal\n-CO-Owner:-ShadowSkull,Rockers21\n-STAFF MANAGER:-Maximos\n-Web Developer:-iBlackBuz,Rockers21\We have Good admins !\n-join us at forum.sa-mp","Okay","");
return 1;
}
And after compiling this showing error like this:-
C:\Users\vishal\Desktop\COD6.pwn(24290) : error 027: invalid character constant
C:\Users\vishal\Desktop\COD6.pwn(24290) : error 027: invalid character constant
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
that will show a list of staff team in a dialog box ..but its showing error ...
PWN CODE:-
COMMAND:ateam(playerid,params[])
{
ShowPlayerDialog(playerid,SERVER,DIALOG_STYLE_MSGB OX, "COD ADMIN TEAM","WELCOME\n-SERVER OWNER:-iBlackBuzz,Priyansh,Micheal\n-CO-Owner:-ShadowSkull,Rockers21\n-STAFF MANAGER:-Maximos\n-Web Developer:-iBlackBuz,Rockers21\We have Good admins !\n-join us at forum.sa-mp","Okay","");
return 1;
}
And after compiling this showing error like this:-
C:\Users\vishal\Desktop\COD6.pwn(24290) : error 027: invalid character constant
C:\Users\vishal\Desktop\COD6.pwn(24290) : error 027: invalid character constant
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.