Hwo to check if player have c4 or not?

Please post any questions about developing your plugin here. Please use the search function before posting!
8guawong
Senior Member
Posts: 148
Joined: Sat Sep 20, 2014 3:06 am

Hwo to check if player have c4 or not?

Postby 8guawong » Sat Oct 04, 2014 11:45 am

Syntax: Select all

PlayerEntity(index).c4

don't work :smile:
User avatar
satoon101
Project Leader
Posts: 2703
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sat Oct 04, 2014 3:19 pm

Syntax: Select all

PlayerEntity(index).has_c4()

# or
PlayerEntity(index).get_weapon_index('weapon_c4')
Image

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 157 guests