09.11.2011, 23:03
(
Последний раз редактировалось jot16; 11.11.2011 в 03:05.
)
fixed.
if (strcmp("/gps", cmdtext, true, 10) == 0)
{
new dt[1024]; // dialog text
strcat(dt,"text here ...");
strcat(dt,"more text here ...");
// etc ...
ShowPlayerDialog(playerid, 99, DIALOG_STYLE_LIST, "GPS", dt, "Locate", "Cancel");
return 1;
}
if (strcmp("/gps", cmdtext, true) == 0)
{
new dt[1024] = "blah Airport\nArea 69\nBayside Airport\nmine Airport\nxxxxx Island Airport\nDillimore Airport\nblah blah\nFort Carson Airport\nFoster Valley Airport\nislan Airport\nIsland Airport\nIsland Airport\nAirport\nLas Venturas Airport\nLos Santos Airport\nMT Chillad Aiport\nmodso Island Airport\nuufg Island Airport";
strcat(dt, "\nMontgomery Airport\nOcean Flats \nmynameSprings Airport\nPalomino Creek Airport\nwee airport Island Airport\nIsland Airport\nPrickle Pine Airport\nAirport\nSan Fierro Airport\nValle Airport\nVinewood Airport");
ShowPlayerDialog(playerid, 99, DIALOG_STYLE_LIST, "GPS", dt, "Locate", "Cancel");
}
ShowPlayerDialog(playerid, 99, DIALOG_STYLE_LIST, "GPS", dt, "Locate", "Cancel");
COMMAND:gps(playeid, params[]) { new dt[1024] = "blah Airport\nArea 69\nBayside Airport\nmine Airport\nxxxxx Island Airport\nAirport\nblah blah\nAirport\nAirport\nislan Airport\nIsland Airport\nIsland Airport\nAirport\nLas Venturas Airport\nLos Santos Airport\n\nmodso Island Airport\nuufg Island Airport"; ShowPlayerDialog(playerid, 99, DIALOG_STYLE_LIST, "GPS", dt, "Locate", "Cancel"); }
San Andreas Multiplayer\filterscripts\GPS.pwn(44) : error 017: undefined symbol "playerid"