18.03.2012, 00:39
Hello,i want to create a faction attacking system,i dont know how to do it,i want to do like if there are in both of factions 5 members online,then you can start the war,the war will last 5 minutes and if the new faction won then it will be owned by the winners(racket)
heres the way it shows the dialog
heres the way it shows the dialog
Код:
CMD:racket(playerid, params[]) { if(IsPlayerConnected(playerid)) { for(new i = 0; i < sizeof(RacketInfo); i++) { if (PlayerToPoint(2.0, playerid,RacketInfo[i][rEntrancex], RacketInfo[i][rEntrancey], RacketInfo[i][rEntrancez])) { ShowPlayerDialog( playerid, 2400, DIALOG_STYLE_LIST, "Racket", "Take Over\nEnter\nDefend\nExit", "Select", "Cancel" ); RacketIDMenu[playerid] = i; } } } return 1; }