Advertisement
Guest User

Untitled

a guest
Oct 20th, 2020
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. case DIALOG_NEONS: {
  2. if(!response) return 1;
  3. switch(listitem) {
  4. case 0: {
  5. new idcar = SelectedCar[playerid];
  6. if(PlayerInfo[playerid][pCarNeon][idcar] != 0) return SCM(playerid, -1, "You already have a neon on this car.");
  7. if(PlayerInfo[playerid][pNeonR] == 0) return SCM(playerid, -1, "You don't have a red neon.");
  8. PlayerInfo[playerid][pNeonR]--;
  9. pUpdateInt(playerid, "NeonR", PlayerInfo[playerid][pNeonR]);
  10. PlayerInfo[playerid][pCarNeon][idcar] = 1;
  11. cUpdate(playerid, idcar, cCarNeonx);
  12. if(PlayerInfo[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar);
  13. SCM(playerid, -1, "You attached a red neon on this car.");
  14. //red
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement