17.02.2018, 15:10
PHP код:
new ArmasPickup;
public OnGameModeInit()
{
ArmasPickup = CreatePickup(1240, 2, 0.0, 0.0, 9.0);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == ArmasPickup)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 26, 500);
GivePlayerWeapon(playerid, 24, 300);
}
return 1;
}