Warnings dialog not working..
#1

Hello, can anyone tell me what is wrong here:

PHP код:
case 2: {
                if(
playerData[playerid][pVIP] >= && playerData[playerid][pWeaponLic] == 0)
                       return 
SendClientMessage(playeridCOLOR_GRAD1"You do not have a weapon license.");
                    return 
ShowPlayerDialogEx(playeridDIALOG_VIP_LOCKER_WEAPONDIALOG_STYLE_LIST"VIP - Weapons""Desert Eagle\n\
                        Silenced 9mm\n\
                        Shotgun\n\
                        Katana\n\
                        Shovel\n\
>>                        Baseball Bat"
,
                        
"Select",
                        
"Cancel"
                    
);
                
ShowPlayerDialogEx(playeridDIALOG_VIP_LOCKER_WEAPONDIALOG_STYLE_LIST"VIP - Weapons""Desert Eagle (15 VIP tokens)\n\
                    Silenced 9mm (6 VIP tokens)\n\
                    Shotgun (10 VIP tokens)\n\
                    Katana (3 VIP tokens)\n\
                    Shovel (2 VIP tokens)\n\
>>                    Baseball Bat (3 VIP tokens)"
,
                    
"Select",
                    
"Cancel"
                
);
            } 
PHP код:
C:\Users\Koen\Desktop\SGRP\gamemodes\SGRP.pwn(15132) : warning 217loose indentation
C
:\Users\Koen\Desktop\SGRP\gamemodes\SGRP.pwn(15142) : warning 225unreachable code
C
:\Users\Koen\Desktop\SGRP\gamemodes\SGRP.pwn(15142) : warning 217loose indentation
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
Header size
:          34380 bytes
Code size
:          4898704 bytes
Data size
:         131614132 bytes
Stack
/heap size:      16384 bytesestimated maxusageunknowndue to recursion
Total requirements
:136563600 bytes
3 Warnings

(PS Do not change the style is anti dialog spoof)
Reply
#2

Try this:

PHP код:
case 2: {

                if(
playerData[playerid][pVIP] >= && playerData[playerid][pWeaponLic] == 0)
                       return 
SendClientMessage(playeridCOLOR_GRAD1"You do not have a weapon license.");
                       
                
ShowPlayerDialogEx(playeridDIALOG_VIP_LOCKER_WEAPONDIALOG_STYLE_LIST"VIP - Weapons""Desert Eagle\n\
                        Silenced 9mm\n\
                        Shotgun\n\
                        Katana\n\
                        Shovel\n\
                        Baseball Bat"
,
                        
"Select",
                        
"Cancel"
                    
);

                
ShowPlayerDialogEx(playeridDIALOG_VIP_LOCKER_WEAPONDIALOG_STYLE_LIST"VIP - Weapons""Desert Eagle (15 VIP tokens)\n\
                    Silenced 9mm (6 VIP tokens)\n\
                    Shotgun (10 VIP tokens)\n\
                    Katana (3 VIP tokens)\n\
                    Shovel (2 VIP tokens)\n\
                    Baseball Bat (3 VIP tokens)"
,
                    
"Select",
                    
"Cancel"
                
);
            } 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)