Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:telelist(playerid, params[])
- {
- Debug("telelist(playerid = %d, position_x = %f, position_y = %f, position_z = %f, rotation = %f, interior = %d)", playerid, position_x, position_y, position_z, rotation, interior); Debug("gTeleTeleports(playerid = %d, position_x = %f, position_y = %f, position_z = %f, rotation = %f, interior = %d)", playerid, position_x, position_y, position_z, rotation, interior);
- inline Response(pid, dialogid, response, listitem, string:inputtext[])
- {
- #pragma unused pid, dialogid, response, listitem, inputtext
- TeleportPlayer(playerid, gTeleTeleports[listitem][0], gTeleTeleports[listitem][1], gTeleTeleports[listitem][2]);
- MsgTag(playerid, TAG_INFO, "You have teleported to teleport " COLOR_EMBED_LIGHTYELLOW "%d" COLOR_EMBED_WHITE ".", listitem + 1);
- }
- Dialog_ShowCallback(playerid, using inline Response, DIALOG_STYLE_LIST, "Tele list",
- "\
- /tele 1 - San Fierro Naval Base\n\
- /tele 2 - San Fierro Docks\n\
- /tele 3 - San Fierro Driving School\n\
- /tele 4 - Mount Chiliad\n\
- /tele 5 - Grove Street\n\
- /tele 6 - Ocean Docks\n\
- /tele 7 - Hunter Quarry\n\
- /tele 8 - Los Santos Storm Canal\n\
- /tele 9 - Glen Park\n\
- /tele 10 - Los Santos Shopping Center\n\
- /tele 11 - The Sherman Dam\n\
- /tele 12 - Las Venturas Police Department\n\
- /tele 13 - Los Santos Pier\n\
- /tele 14 - Camping Park\n\
- /tele 15 - Los Santos Studio\n\
- /tele 16 - Area 51\n\
- /tele 17 - Four Dragons Casino\n\
- /tele 18 - Caligula's Casino\n\
- /tele 19 - The Pointy Building\n\
- /tele 20 - Star Building\
- ", "Teleport", "Cancel");
- return COMMAND_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement