- 0
Problema GPS
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Rio
Am o problema cu comanda /gps.
[pawn] if(strcmp(cmd,"/gps",true)==0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(PlayerInfo[playerid][pGPS] > 0)
{
new stringgps[1000], stringg1[512], stringg2[512], stringg3[512], stringg4[512], stringg5[512];
format(stringg1, sizeof(stringg1), "{00BC00}0. {F6F6F6}Primarie\n{00BC00}1. {F6F6F6}Banca LS\n{00BC00}2. {F6F6F6}Discheta LS\n{00BC00}3. {F6F6F6}Discheta SF\n{00BC00}4. {F6F6F6}Discheta LV\n{00BC00}5. {F6F6F6}24/7 Central\n{00BC00}6. {F6F6F6}LSPD");
format(stringg2, sizeof(stringg2), "\n{00BC00}7. {F6F6F6}SFPD\n{00BC00}8. {F6F6F6}LVPD\n{00BC00}9. {F6F6F6}Aeroport LS\n{00BC00}10. {F6F6F6}Aeroport SF\n{00BC00}11. {F6F6F6}Aeroport LV\n{00BC00}12. {F6F6F6}Aeroport parasit\n{00BC00}13. {F6F6F6}Gun shop Los Santos\n{00BC00}14. {F6F6F6}Gun shop San Fierro");
format(stringg3, sizeof(stringg3), "\n{00BC00}15. {F6F6F6}Binco LS - /clothes\n{00BC00}16. {F6F6F6}Materials shop\n{00BC00}17. {F6F6F6}Materials get\n{00BC00}18. {F6F6F6}Materials deliver\n{00BC00}19. {F6F6F6}Rent Car LS");
format(stringg4, sizeof(stringg4), "\n{00BC00}20. {F6F6F6}Rent Car SF\n{00BC00}21. {F6F6F6}Job Trucker\n{00BC00}22. {F6F6F6}Job Farmer\n{00BC00}23. {F6F6F6}Job Garbage Collector\n{00BC00}24. {F6F6F6}Job Arms Dealer\n{00BC00}25. {F6F6F6}Job Drugs Dealer\n{00BC00}26. {F6F6F6}Job Car Dealer");
format(stringg5, sizeof(stringg5), "\n{00BC00}27. {F6F6F6}Job Bus Driver\n{00BC00}28. {F6F6F6}Job Car Jacker\n{00BC00}29. {F6F6F6}Job Bodyguard\n{00BC00}30. {F6F6F6}Job Paperboy\n{00BC00}31. {F6F6F6}Job Mechanic\n{00BC00}32. {F6F6F6}Job Whore\n{00BC00}33. {F6F6F6}Job Boxer\n{00BC00}34. {F6F6F6}Job Lawyer");
format(stringgps, sizeof(stringgps), "%s%s%s%s",stringg1,stringg2,stringg3,stringg4,stringg5);
ShowPlayerDialog(playerid, 350, DIALOG_STYLE_LIST, "{DC0C0C}NEXTGAMES {F6F6F6}GPS", stringgps, "Alege", "Iesi");
SendClientMessage(playerid, -1, " ");
SendClientMessage(playerid, COLOR_WHITE, "{00BC00}GPS: {FFFFFF}Alege locatia...");
}
}
}[/pawn]
daca las ultimul rand cu locatiile stringg5 si dau gps pe server nu merge dar daca scot tot cu stringg5 merge. Se compileaza si nu da errori nici warninguri
8 answers to this question
Recommended Posts