Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
WatermelonPL

Test if player has a weapon

Question

2 answers to this question

Recommended Posts

  • 0
script 1 (void) 

{ 

if (CheckInventory("Pistol")) 

    {

    Print(s:"You have teh pistel"); 

    }

else

    {

    Print(s:"Oh no");

    }

}

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×