Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:races(playerid, params[])
- {
- if(!IsPlayerInRangeOfPoint(playerid, 15.0,2127.6423,2378.6934,10.8203)) return SCM(playerid, COLOR_INFO, "Eroare: Nu esti la locul potrivit.");
- ShowPlayerDialog(playerid, DIALOG_RACES, DIALOG_STYLE_LIST, "RACES", "{ffa64d}Race 1\n{ffa64d}Race 2", "Ok", "Inchide");
- return 1;
- }
- case DIALOG_RACES:
- {
- if(!response) return 1;
- switch(listitem)
- {
- case 0:
- {
- SetPlayerPos(playerid, 90.0057,1734.7637,423.1459);
- SetPlayerVirtualWorldEx(playerid, 3);
- }
- case 1:
- {
- SetPlayerPos(playerid, 553.0593,245.8365,327.9700);
- SetPlayerVirtualWorldEx(playerid, 3);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement