Jump to content
  • 0

Itemall with gepard check


iubantot

Question


  • Group:  Members
  • Topic Count:  117
  • Topics Per Day:  0.03
  • Content Count:  312
  • Reputation:   34
  • Joined:  10/15/12
  • Last Seen:  

So im working with this script that will give an item to all players on a map and i want to apply the unique_id() of gepard does anyone have any idea how to implement this?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

1. getmapunits(<type>,<"map name">{,<array_variable>[<first value>]})
2. loop the array
3. use setd and use the gepardid
4. check using getd if the player is given.

  • Upvote 1
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  117
  • Topics Per Day:  0.03
  • Content Count:  312
  • Reputation:   34
  • Joined:  10/15/12
  • Last Seen:  

18 hours ago, Haruka Mayumi said:

1. getmapunits(<type>,<"map name">{,<array_variable>[<first value>]})
2. loop the array
3. use setd and use the gepardid
4. check using getd if the player is given.

ohh thanks that really helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...