Cmd help ZCMD
#1

pawn Код:
CMD:vcmds(playerid,params)
{
    if(GetPVarInt(playerid,"InDeathMatch") == 1) return SendClientMessage(playerid,COLOR_RED,"ERROR:You Cant Use This Command When You are In A Deathmatch");
    ShowPlayerDialog(playerid,99,DIALOG_STYLE_MSGBOX,".:[FZX stuntings™].:.[Vip Access Granted]:.","Welcome to VIP Command List.\n{FF0000}Free Vip:\n/goto, /richlist.\n\nBronze 2:\n/jetpack, /zonecam, /flipp, /vsay, /jailed, /securitycam, /morning\n\nSilver 1:\n/freeze, /unfreeze, /frozen, /podiumdown, /podiumup, /sweaps, /ping, /noplayerpm\n\nSilver 2:\n/disarm, /warn, /remwarn, /jail, /unjail, /podiumfastdown, /podiumfastup, /mute, /unmute, /muted, /lspec.\n\n{FFFF00}Gold:\n/vgod,/vweaps,/miniguns,/reports,/move\n\nPlatium:\n/kick,/moveplayer, /podiummegafastdown(up)\n\n\n{FF0000} More Command will come with each update,\n\n Thank you and enjoy your time in TMS","Close");
    return 1;
}
pawn Код:
E:\X\SAMP\samp\samp03e_svr_R2_win32\gamemodes\ImpulsiveX.pwn(845) : error 075: input line too long (after substitutions)
E:\X\SAMP\samp\samp03e_svr_R2_win32\gamemodes\ImpulsiveX.pwn(846) : error 037: invalid string (possibly non-terminated string)
E:\X\SAMP\samp\samp03e_svr_R2_win32\gamemodes\ImpulsiveX.pwn(846) : error 017: undefined symbol "Welcome"
E:\X\SAMP\samp\samp03e_svr_R2_win32\gamemodes\ImpulsiveX.pwn(846) : error 017: undefined symbol "to"
E:\X\SAMP\samp\samp03e_svr_R2_win32\gamemodes\ImpulsiveX.pwn(846) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
What Am I doing wrong??
Reply
#2

Here ya go:



pawn Код:
CMD:vcmds(playerid,params)
{
    if(GetPVarInt(playerid,"InDeathMatch") == 1) return SendClientMessage(playerid,COLOR_RED,"ERROR:You Cant Use This Command When You are In A Deathmatch");
    {
        new msg3[800];
        new msg[] = "Welcome to VIP Command List.\n{FF0000}Free Vip:\n/goto, /richlist.\n\nBronze 2:\n/jetpack, /zonecam, /flipp, /vsay, /jailed, /securitycam, /morning\n\nSilver 1:\n/freeze, /unfreeze, /frozen, /podiumdown, /podiumup, /sweaps, /ping, /noplayerpm\n\nSilver 2:\n/disarm,";
        new msg2[] = " /warn, /remwarn, /jail, /unjail, /podiumfastdown, /podiumfastup, /mute, /unmute, /muted, /lspec.\n\n{FFFF00}Gold:\n/vgod,/vweaps,/miniguns,/reports,/move\n\nPlatium:\n/kick,/moveplayer, /podiummegafastdown(up)\n\n\n{FF0000} More Command will come with each update,\n\n Thank you and enjoy your time in TMS";
        format(msg3, sizeof(msg3), "%s %s", msg, msg2);
        ShowPlayerDialog(playerid,99,DIALOG_STYLE_MSGBOX,".:[FZX stuntings™].:.[Vip Access Granted]:.",msg3,"Close", "");
    }
   
    return 1;
}
Reply
#3

Quote:
Originally Posted by Ken97
Посмотреть сообщение
Here ya go:



pawn Код:
CMD:vcmds(playerid,params)
{
    if(GetPVarInt(playerid,"InDeathMatch") == 1) return SendClientMessage(playerid,COLOR_RED,"ERROR:You Cant Use This Command When You are In A Deathmatch");
    {
        new msg3[800];
        new msg[] = "Welcome to VIP Command List.\n{FF0000}Free Vip:\n/goto, /richlist.\n\nBronze 2:\n/jetpack, /zonecam, /flipp, /vsay, /jailed, /securitycam, /morning\n\nSilver 1:\n/freeze, /unfreeze, /frozen, /podiumdown, /podiumup, /sweaps, /ping, /noplayerpm\n\nSilver 2:\n/disarm,";
        new msg2[] = " /warn, /remwarn, /jail, /unjail, /podiumfastdown, /podiumfastup, /mute, /unmute, /muted, /lspec.\n\n{FFFF00}Gold:\n/vgod,/vweaps,/miniguns,/reports,/move\n\nPlatium:\n/kick,/moveplayer, /podiummegafastdown(up)\n\n\n{FF0000} More Command will come with each update,\n\n Thank you and enjoy your time in TMS";
        format(msg3, sizeof(msg3), "%s %s", msg, msg2);
        ShowPlayerDialog(playerid,99,DIALOG_STYLE_MSGBOX,".:[FZX stuntings™].:.[Vip Access Granted]:.",msg3,"Close", "");
    }
   
    return 1;
}
thanks rep++;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)