13.03.2011, 16:29
(
Последний раз редактировалось BurgessGaming; 13.03.2011 в 16:31.
Причина: Very bad grammar and I'm english ha
)
Ok so i have scripted fishing, carsales, jobs etc... and i THINK they all work fine... however
How do i get it so that you have to make a command to use it for example /buycar
because no matter where it is whatever marker / pickup i go into it brings up the menu for everything?
and yes i have done coordinates for the marker so i dont know why this is happening...
THE CAR SALE IS NOT MADE BY ME IT IS A FILTER SCRIPT I JUST CHANGED COORDINATES !
Example (these arnt together like this i just pasted them into here)
How do i get it so that you have to make a command to use it for example /buycar
because no matter where it is whatever marker / pickup i go into it brings up the menu for everything?
and yes i have done coordinates for the marker so i dont know why this is happening...
THE CAR SALE IS NOT MADE BY ME IT IS A FILTER SCRIPT I JUST CHANGED COORDINATES !
Example (these arnt together like this i just pasted them into here)
pawn Код:
CarSale = AddStaticPickup( 1274, 1, 1419.9497070313,223.79139709473,19.5546875);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == CarSale)
menu[playerid] = CreateMenu("Vehicles",2,200,100,150,75);
SetMenuColumnHeader(menu[playerid], 0, "Vehicle Shop Menu:");
AddMenuItem(menu[playerid], 0, "BMX 800$");
AddMenuItem(menu[playerid], 0, "Mountain Bike 600$");
AddMenuItem(menu[playerid], 0, "Comet 100000$");
AddMenuItem(menu[playerid], 0, "Glendale 15000$");
AddMenuItem(menu[playerid], 0, "Tampa 8000$");
AddMenuItem(menu[playerid], 0, "Clover 2500$");
AddMenuItem(menu[playerid], 0, "Huntley 60000$");
AddMenuItem(menu[playerid], 0, "Blista Compact 30000$");
AddMenuItem(menu[playerid], 0, "Buffalo 55000$");
AddMenuItem(menu[playerid], 0, "Club 35000$");
AddMenuItem(menu[playerid], 0, "Hermes 20000$");
AddMenuItem(menu[playerid], 0, "Sultan 45000$");
TogglePlayerControllable(playerid, 0);
ShowMenuForPlayer(menu[playerid], playerid);
return 1;
}