31.07.2015, 18:36
Hello, can anyone tell me what is wrong here:
(PS Do not change the style is anti dialog spoof)
PHP код:
case 2: {
if(playerData[playerid][pVIP] >= 3 && playerData[playerid][pWeaponLic] == 0)
return SendClientMessage(playerid, COLOR_GRAD1, "You do not have a weapon license.");
return ShowPlayerDialogEx(playerid, DIALOG_VIP_LOCKER_WEAPON, DIALOG_STYLE_LIST, "VIP - Weapons", "Desert Eagle\n\
Silenced 9mm\n\
Shotgun\n\
Katana\n\
Shovel\n\
>> Baseball Bat",
"Select",
"Cancel"
);
ShowPlayerDialogEx(playerid, DIALOG_VIP_LOCKER_WEAPON, DIALOG_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 217: loose indentation
C:\Users\Koen\Desktop\SGRP\gamemodes\SGRP.pwn(15142) : warning 225: unreachable code
C:\Users\Koen\Desktop\SGRP\gamemodes\SGRP.pwn(15142) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 34380 bytes
Code size: 4898704 bytes
Data size: 131614132 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:136563600 bytes
3 Warnings.