Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case DIALOG_NEONS: {
- if(!response) return 1;
- switch(listitem) {
- case 0: {
- new idcar = SelectedCar[playerid];
- if(PlayerInfo[playerid][pCarNeon][idcar] != 0) return SCM(playerid, -1, "You already have a neon on this car.");
- if(PlayerInfo[playerid][pNeonR] == 0) return SCM(playerid, -1, "You don't have a red neon.");
- PlayerInfo[playerid][pNeonR]--;
- pUpdateInt(playerid, "NeonR", PlayerInfo[playerid][pNeonR]);
- PlayerInfo[playerid][pCarNeon][idcar] = 1;
- cUpdate(playerid, idcar, cCarNeonx);
- if(PlayerInfo[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar);
- SCM(playerid, -1, "You attached a red neon on this car.");
- //red
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement