27.11.2012, 03:36
Greetings!
Hello, I added commands into the commands list Dialog. But the string got too long. So i decided to use strcat .. When i compile i get no errors or warnings. But in game nothing appears when i use the command. Cant seem to see whats wrong here..
Hello, I added commands into the commands list Dialog. But the string got too long. So i decided to use strcat .. When i compile i get no errors or warnings. But in game nothing appears when i use the command. Cant seem to see whats wrong here..
Quote:
CMD:teleports(playerid, params[]) { new string[300]; ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Drift Teleports", "", "Okay", ""); 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"); return 1; |