Guest User

Untitled

a guest
Feb 24th, 2022
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. YCMD:promenispawn(playerid,params[],help)
  2. {
  3. if(UlogovanP[playerid] == 0) return SCM(playerid,-1,""CRVENA"[#Greska] "SIVA"Nisi Ulogovan!");
  4. ShowPlayerDialog(playerid, DIALOG_PRSPAWNA, DIALOG_STYLE_LIST, ""BELA"Izaberite vas buduci spawn", "[1] - Beograd\n[2] - Sarajevo\n[3] - Zagreb", "Izaberi", "Odustani");
  5. return 1;
  6. }
  7.  
  8. case DIALOG_PRSPAWNA:
  9. {
  10. if( !response )
  11. if(response)
  12. {
  13. switch(listitem)
  14. {
  15. case 0:
  16. {
  17. SCM(playerid,-1,""SRWBOJA"[Eds"BELA"tret "SRWBOJA"G"BELA"amin"SRWBOJA"g] "BELA"Uspesno ste promenili spawn od sada ce te se spawnovati u Beogradu");
  18. PlayerInfo[playerid][pSpawnGrad] = SPAWN_LS;
  19. }
  20. case 1:
  21. {
  22. SCM(playerid,-1,""SRWBOJA"[Eds"BELA"tret "SRWBOJA"G"BELA"amin"SRWBOJA"g] "BELA"Uspesno ste promenili spawn od sada ce te se spawnovati u Sarajevu");
  23. PlayerInfo[playerid][pSpawnGrad] = SPAWN_LV;
  24. }
  25. case 2:
  26. {
  27. SCM(playerid,-1,""SRWBOJA"[Eds"BELA"tret "SRWBOJA"G"BELA"amin"SRWBOJA"g] "BELA"Uspesno ste promenili spawn od sada ce te se spawnovati u Zagrebu");
  28. PlayerInfo[playerid][pSpawnGrad] = SPAWN_SF;
  29. return 1;
  30. }
  31. }
  32. }
  33. }
  34. }
  35. return 1;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment