Quote:
Originally Posted by Kitami
Is there a way to increase the time limit from 30 seconds that's a bit short I was hoping like 60 seconds.
|
reverse situation
1 question:
how to make the countdown begins not with 5 seconds and from 0
I found the code in the row but changed to 1 does not change ((
Code:
public EditMenuAction(player, key) {
key = (key == 10) ? 0 : key + 1
switch(key)
{
case 1: {
// nдchster ZoneMode
new zm = -1
zm = pev(zone[index], ZONEID)
if (ZONEMODE:zm == ZM_KILL_T2) zm = 0; else zm++;
set_pev(zone[index], ZONEID, zm)
OpenEditMenu(player)
}
case 2: {
// Campertime runter
new ct = pev(zone[index], CAMPERTIME)
ct = (ct > 1) ? ct - 1 : 1
set_pev(zone[index], CAMPERTIME, ct)
OpenEditMenu(player)
}
case 3: {
// Campertime hoch
new ct = pev(zone[index], CAMPERTIME)
ct = (ct < 30) ? ct + 1 : 30
set_pev(zone[index], CAMPERTIME, ct)
OpenEditMenu(player)
}
case 4: {
// Editier-Richtung дndern
direction = (direction < 2) ? direction + 1 : 0
OpenEditMenu(player)
}
......................................
}
}
}
Case 2 line 3
Help Plz !