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

I wont lets check something


Norkezz
 Share

Recommended Posts

I'm a really noob in scripting.
But what i wont to ask is:
I need to know how i can check whats in a slot.
I have tried the function: GetPlayerWeaponSlot.
I thought it whats the right one,but it calculates up how many times a item is picked up..
So i need to know how i can check whats in my weapon slot.
Does anyone knows the right code?
Link to comment
Share on other sites

@franqetesh:

> ???????????????????????????????????
>
> GetPlayerWeaponSlot It's the correct… It returns the number of the weapon item, not how many tims a item is picked up hahaha.

But.
It doesnt work by me.
How i need to write it than if you know it good enough?
I wont do it with IF
Like this:
If GetPlayerWeaponSlot(index) = 2 Then
–----
End If
But thats doesnt work :sad:
Link to comment
Share on other sites

@Spine:

> Are you trying to do a command or something else?
> You didn't explain it very well…
> I might be able to help

I don't know exactly what you meaning.
But i think a command.
GetPlayerWeaponSlot.
But thats doesnt work.
It is not checking the item whats in the weapon slot
It is checking how many times the weapon is taken like pick it up or buy it.
And now it is doing nothing:/
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...