22.08.2014, 11:38
Код:
[17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] -mSelection- WARNING: Reached maximum amount of lists, increase "mS_TOTAL_LISTS" [17:40:59] ---------------------------------- [17:40:59] Blank Gamemode by your name here [17:40:59] ---------------------------------- [17:40:59] Number of vehicle models: 62
includes:
Код HTML:
#include <a_samp> #include <crashdetect> #include <a_mysql> #include <streamer> #include <tag> //auto-gate #include <mSelection>
Код HTML:
skinlist1 = LoadModelSelectionMenu("Skins/skins1.txt"); skinlist2 = LoadModelSelectionMenu("Skins/skins2.txt"); skinlist3 = LoadModelSelectionMenu("Skins/skins3.txt"); skinlist4 = LoadModelSelectionMenu("Skins/skins4.txt"); skinlist5 = LoadModelSelectionMenu("Skins/skins5.txt");
Код HTML:
public OnPlayerModelSelection(playerid, response, listid, modelid) { if(listid == skinlist1 && listid == skinlist2 && listid == skinlist3 && listid == skinlist4 && listid == skinlist5) { if(response) { SendClientMessage(playerid, COLOR_GREEN, "Select!"); SetPlayerSkin(playerid, modelid); } else SendClientMessage(playerid, COLOR_RED, "Cancel"); return 1; } return 1; }