05.01.2013, 06:51
Error:
Line:
Whole command:
Thanks.
pawn Код:
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\Zcmd.pwn(244) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\Zcmd.pwn(244) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\Zcmd.pwn(244) : warning 215: expression has no effect
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\Zcmd.pwn(244) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\Zcmd.pwn(244) : fatal error 107: too many error messages on one line
pawn Код:
strcat(lstring,""COLOR_GREEN"VIP Level 1:\n\n"cwhite"/vbike - to spawn nrg\n/vcar - to spawn vip car\n/vheli - to spawn maverick\n/vheal - to heal yourself\n\n\n");
pawn Код:
CMD:vcmds(playerid, params[])
{
if(PlayerInfo[playerid][pVIP] >= 1)
{
new lstring[2566];
strcat(lstring,""COLOR_GREEN"VIP Level 1:\n\n"cwhite"/vbike - to spawn nrg\n/vcar - to spawn vip car\n/vheli - to spawn maverick\n/vheal - to heal yourself\n\n\n");
strcat(lstring,""COLOR_ORANGE"VIP Level 2:\n"cwhite"/vweaps - to get vip weapons\n/vboat - to spawn vip boat\n/vmenu - to access vip menu\n/vplane - to spawn stunt plane for yourself\n/vpbonus - to heal and give 1 ammo of RPG to nearest players\n/vnos to activate nitros\naccess to level 1 vip commands\n\n\n");
strcat(lstring,""COLOR_BLUE"VIP Level 3:\n"cwhite"access to all vip commands\n/vfix - to fix your vehicle\n/vtime - to set your time\n/vskin - to set your skin\n/vjetpack - to spawn jetpack for yourself\n/varmour - to armour yourself\n");
ShowPlayerDialog(playerid, 222,DIALOG_STYLE_MSGBOX,"VIP Commands",lstring,"Close","");
}
else return SendClientMessage(playerid, RED,"[ERROR]: You need to be vip level 1 to use this command!");
return 1;
}