01.03.2013, 22:22
Quote:
|
tried to make it for weapons but its showing the skins in the menu
![]() how to fix that? please help![]() Code:
//at the top
new weaplist = mS_INVALID_LISTID;
//OnGameModeInIt
weaplist = LoadModelSelectionMenu("weap.txt");
//command
CMD:w(playerid, params[])
{
ShowModelSelectionMenu(playerid, weaplist, "Select Weapon");
return 1;
}
//OnPlayerModelSelection
if(listid == weaplist)
{
if(response)
{
GivePlayerWeapon(playerid, modelid, 99999);
}
else
{
return 0;
}
}
|
Quote:
|
https://sampwiki.blast.hk/wiki/Weapons
have a look at the "object id" column |
Edit: have a look at this topic if you don't get any weapons: https://sampforum.blast.hk/showthread.php?tid=418951




please help