27.11.2012, 03:41
pawn Код:
CMD:teleports(playerid, params[])
{
new string[300];
strcat(string, "{00FFFF}======== -( Drifts )- ========\n{FFFF00}/drifthill\n/drift1-[53]\n/prodrift\n/circle1-[8]\n{00FFFF}======== -( Tune )- ========\n{FFFF00}/arch\n/fender\n/loco\n (Same As /Tune)\n");
strcat(string, "/oceandrift\n{00FFFF} ======== -( Cities )- ========\n{FFFF00}/sf\n/ls\n/lv\n{00FFFF}======== -( Airports )- ========\n{FFFF00}/lsa\n/lva\n/sfa\n{00FFFF}======== -( Other )- ========\n{FFFF00}/drag\n");
strcat(string, "{00FFFF}======== -( Parkour )- ========\n{FFFF00}/nrgparkour");
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Drift Teleports", string, "Okay", "Cancel"); //First off, the string should be set before the dialog. And this line had an error.
return 1;
}