Guest zdenek Odesláno: 25. Leden, 2009 Share Odesláno: 25. Leden, 2009 Delam si do modu /nitro vse mi jede akorat kdyz hraju a dam /nitro tak se mi do auta da nitro a kdyz zmacku s tak se mi da pric nvm co stim. Mam to takhe: new Menu:xnitro; if(strcmp(cmdtext, "/nitro", true) == 0) { ShowMenuForPlayer(xnitro,playerid); return 1; } xnitro = CreateMenu("Nitro", 2, 50.0, 180.0, 200.0, 200.0); AddMenuItem(xnitro, 0, "Nitro"); AddMenuItem(xnitro, 1, "2"); AddMenuItem(xnitro, 0, "Nitro"); AddMenuItem(xnitro, 1, "5"); AddMenuItem(xnitro, 0, "Nitro"); AddMenuItem(xnitro, 1, "10"); new Menu:current; current = GetPlayerMenu(playerid); if(current == xnitro) { switch(row) { case 0:{ new xid = GetPlayerVehicleID(playerid); AddVehicleComponent(xid,1009); } case 1:{ new xid = GetPlayerVehicleID(playerid); AddVehicleComponent(xid,1008); } case 2:{ new xid = GetPlayerVehicleID(playerid); AddVehicleComponent(xid,1010); } } } Link to comment Share on other sites More sharing options...
0 Guest gtaman Odesláno: 7. Březen, 2009 Share Odesláno: 7. Březen, 2009 skus http://play-zone.mteam.cz/forum/viewthr ... read_id=41 :rap2: Link to comment Share on other sites More sharing options...
0 ondra852 0 Odesláno: 7. Březen, 2009 Share Odesláno: 7. Březen, 2009 skus http://play-zone.mteam.cz/forum/viewthr ... read_id=41" onclick="window.open(this.href);return false; :rap2: Jo a máš neomezený nitro Link to comment Share on other sites More sharing options...
Dotaz
Guest zdenek
Delam si do modu /nitro vse mi jede akorat kdyz hraju a dam /nitro tak se mi do auta da nitro a kdyz zmacku s tak se mi da pric nvm co stim.
Mam to takhe:
new Menu:xnitro;
if(strcmp(cmdtext, "/nitro", true) == 0) {
ShowMenuForPlayer(xnitro,playerid);
return 1;
}
xnitro = CreateMenu("Nitro", 2, 50.0, 180.0, 200.0, 200.0);
AddMenuItem(xnitro, 0, "Nitro");
AddMenuItem(xnitro, 1, "2");
AddMenuItem(xnitro, 0, "Nitro");
AddMenuItem(xnitro, 1, "5");
AddMenuItem(xnitro, 0, "Nitro");
AddMenuItem(xnitro, 1, "10");
new Menu:current;
current = GetPlayerMenu(playerid);
if(current == xnitro)
{
switch(row)
{
case 0:{
new xid = GetPlayerVehicleID(playerid);
AddVehicleComponent(xid,1009);
}
case 1:{
new xid = GetPlayerVehicleID(playerid);
AddVehicleComponent(xid,1008);
}
case 2:{
new xid = GetPlayerVehicleID(playerid);
AddVehicleComponent(xid,1010);
}
}
}
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now