28.10.2009, 17:59
I did this:
And it gave me 26 shitty errors!!!!!!!
Please help me solve this!
I think this is also the same...
http://forum.sa-mp.com/index.php?topic=130347.0
pawn Код:
public OnPlayerSelectedMenuRow(playerid, row)
{
if(CurrentMenu == Weapsmenu)
{
switch(row)
{
case 0: //AK-47
{
GivePlayerWeapon(playerid, 30, 3000);
SendClientMessage(playerid, COLOR_ORANGE, "Server: Weapon [AK-47] successfully spawned");
}
case 1: //HS Rocket Launcher
{
GivePlayerWeapon(playerid, 36, 3000);
SendClientMessage(playerid, COLOR_ORANGE, "Server: Weapon [HS Rocket Launcher] successfully spawned");
}
case 2: //Bazooka
{
GivePlayerWeapon(playerid, 35, 3000);
SendClientMessage(playerid, COLOR_ORANGE, "Server: Weapon [Bazooka] successfully spawned");
}
case 3: //Grenade
{
GivePlayerWeapon(playerid, 16, 3000);
SendClientMessage(playerid, COLOR_ORANGE, "Server: Weapon [Grenade] successfully spawned");
}
case 4: //Sawn-Off Shotgun
{
GivePlayerWeapon(playerid, 26, 3000);
SendClientMessage(playerid, COLOR_ORANGE, "Server: Weapon [Sawn-Off Shotgun] successfully spawned");
}
case 5: //Flamethrower
{
GivePlayerWeapon(playerid, 37, 3000);
SendClientMessage(playerid, COLOR_ORANGE, "Server: Weapon [Flamethrower] successfully spawned");
}
}
}
Please help me solve this!
I think this is also the same...
http://forum.sa-mp.com/index.php?topic=130347.0