Quick and Easy Question
#5

PHP код:
public OnPlayerStateChange(playeridnewstateoldstate){
   if(
oldstate==PLAYER_STATE_ONFOOT &&  newstate==PLAYER_STATE_PASSENGER){
      if(
GetPlayerWeapon(playerid)==26 || GetPlayerWeapon(playerid)==30){
         
SetPlayerArmedWeapon(playerid,0);
      }
   }

Reply


Messages In This Thread
Quick and Easy Question - by olbeercan - 07.06.2012, 01:02
Re: Quick and Easy Question - by Kindred - 07.06.2012, 01:24
Re: Quick and Easy Question - by zDevon - 07.06.2012, 01:26
Re: Quick and Easy Question - by ReneG - 07.06.2012, 02:14
Re: Quick and Easy Question - by mati233 - 07.06.2012, 02:31

Forum Jump:


Users browsing this thread: 1 Guest(s)