20.01.2016, 18:16
Quote:
new locations[][4] = { {55,66,77}, {1,1,1} }; new Map[][] = { "Ship_Alert", "Police_HQ", "Jefferson_Motel" }; forward BeginVote(); public BeginVote() { SendClientMessageToAll(COLOR_RED,"Voting Ends in 15 seconds. Cast your Votes"); SetTimer("endvote",15000,0); ActiveVote = true; new info[150]; for (new i = 0;i<sizeof(locations);i++) { if (i == 0) format(info,sizeof(info),"%s\n",Map[i]); if (i == sizeof(locations)-1) format(info,sizeof(info),"%s%s",info,Map[i]); if (i != sizeof(locations) && i != 0) format(info,sizeof(info),"%s\n",info,Map[i]); } for (new i = 0;i<MAX_PLAYERS; i++) { CanVote[i] = 1; ShowPlayerDialog(i,500,DIALOG_STYLE_LIST,"Vote for Map",info,"Vote","Vote"); } return 1; } |
Quote:
new Float:RandomSpawnstdm[][4] = { {-1443.5890,489.6125,11.1953,279.7831}, {-1444.3029,512.8528,11.1953,255.2802}, {-1437.3507,503.6928,11.1953,267.2914}, {-1419.4233,490.9476,11.1953,356.1745} }; new Float:RandomSpawnstdm1[][4] = { {-690.3361,936.5358,13.6328,179.9712}, {-676.6542,929.8027,12.1328,132.9942}, {-696.3448,967.7148,12.2941,139.2375}, {-692.5078,927.9092,13.6293,168.0644} }; new Float:RandomSpawnstdm2[][4] = { {247.8709,142.9860,1003.0234,3.7601}, {230.5594,141.2424,1003.0234,356.2400}, {238.4645,146.8251,1003.0234,356.5533}, {246.2650,153.3921,1003.0234,356.5533}, {237.6065,158.6982,1003.0234,356.5533} }; new Float:RandomSpawnstdm3[][4] = { {300.7668,171.3629,1007.1719,8.1467}, {290.6314,170.0125,1007.1794,4.0734}, {300.2852,178.1812,1007.1719,89.9275}, {281.4109,171.6593,1007.1719,23.9047}, {300.1963,184.2106,1007.1719,93.1520} }; |