Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///
- if(dialogid == DIALOG_MAFIA)
- {
- if(response)
- {
- if(PlayerInfo[playerid][pConnectHours] < 2 || PlayerInfo[playerid][pWRestricted] > 0) return SendClientMessageEx(playerid, COLOR_GRAD2, "Ban khong the su dung dieu nay khi dang chiu mot lenh cam vu khi!");
- if(listitem == 0)
- {
- if(PlayerInfo[playerid][pCash] >= 10000)
- {
- PlayerInfo[playerid][pCash] -= 10000;
- GivePlayerValidWeapon(playerid, 5, 1);
- SendClientMessageEx(playerid, COLOR_YELLOW, "Ban da mua thanh cong gay Baseball Bat.");
- }
- else SendClientMessageEx(playerid, COLOR_YELLOW, "{F00A0A}[?]{EAFF00}Ban khong du tien de mua vu khi nay."); // day
- }
- if(listitem == 1)
- {
- if(PlayerInfo[playerid][pCash] >= 15000)
- {
- PlayerInfo[playerid][pCash] -= 15000;
- GivePlayerValidWeapon(playerid, 8, 1);
- SendClientMessageEx(playerid, COLOR_YELLOW, "Ban da mua thanh cong gay Katana.");
- }
- else SendClientMessageEx(playerid, COLOR_YELLOW, "{F00A0A}[?]{EAFF00}Ban khong du tien de mua vu khi nay."); // day
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement