11.07.2013, 10:33
i want to when players type /teleports show all teleports stunts, dms, drifts , dives, jumps on one Dialog menu
here is command which i made
and Here is dailog list for this command
}
but i don't know how to add teleports dialog ids here :/
here is my teleport list id : DIALOG_Teleports
i try showplayerdialog but i was fail
here is command which i made
Код:
if (strcmp("/limba", cmdtext, true, 10) == 0) { new Str1[ ] = "Teleports (/Teleports)\nStunts (/stunts)\nJumps (/jumps)\nNrgs (/nrgs)\nTubes (/tubes)\nAirports (/airports)\nDives (/dives)\nIslands (/islands)\nDrifts (/drifts) \n\ \n\ \n", Str2[ ] = "\n\ \n\ \n", StrF[ 1500 ]; format( StrF, sizeof StrF, "%s%s%s%s%s%s%s%s%s", Str1, Str2); ShowPlayerDialog( playerid, DIALOG_mixup, DIALOG_STYLE_LIST , "Whole Teleports", StrF, "OK", "CANCEL" ); return 1; }
Код:
if(dialogid == DIALOG_mixup){ if(response){ switch(listitem){ case 0: { } case 1: { } case 2: { } case 3: { } case 4: { } case 5: { } case 6: { } case 7: { } case 8: { } } }
but i don't know how to add teleports dialog ids here :/
here is my teleport list id : DIALOG_Teleports
i try showplayerdialog but i was fail