02.09.2009, 18:37
SetDisabledWeapons Is now removed
It was a best thing againts bad weapons I needed
Can you plz bring it back ?
It was a best thing againts bad weapons I needed
Can you plz bring it back ?
Originally Posted by Don Correlli
Help yourself with OnPlayerUpdate callback and GetPlayerWeapon function.
|
Originally Posted by Przemcio
You can't fix Nightvision bug now... That function was very useful, so bring it back please?
|
public OnPlayerUpdate(playerid)
{
if(!IsPlayerConnected(playerid)) return 0;
if(GetPlayerWeapon(playerid)==any_forbidden_gun)
{
SendClientMessage(playerid,color,"This weapon is forbidden!");
// Look for a function called "RemovePlayerWeapon(playerid,weaponid) and remove this weaponid.
}
return 1;
}
Originally Posted by Przemcio
You can't fix Nightvision bug now... That function was very useful, so bring it back please?
|
Originally Posted by Don Correlli
Quote:
|