# Player Property (Integer)

Grammar — Player p prop
FlagsNative | Function

Returns the value of the specified player property as an integer.

# Arguments

Returns — int

native int PlayerGetPropertyInt(int inPlayer, int inProp);

Category: Player / Player Settings

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3538
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3566
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L284
PlayerGetPropertyInt(lv_owner, c_playerPropMinerals)
// L286
PlayerGetPropertyInt(lv_owner, c_playerPropVespene)
// L288
PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)
// L290
PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade)
// L290
PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit)
// L4074
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L4102
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L813
PlayerGetPropertyInt(gv_p07_ZERG_INFESTED, c_playerPropSuppliesLimit)
// L3266
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3296
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L4880
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L4909
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L1360
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1371
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1407
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1409
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1439
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L3606
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3634
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L4104
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L4150
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1950
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L1982
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L4400
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L4431
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L956
PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed)
// L1002
PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed)
// L1002
PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)
// L1018
PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed)
// L1018
PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)
// L1201
PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropMinerals)
// L3702
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3730
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L3936
PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropVespene)
// L4074
PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed)
// L3302
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3331
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L8749
PlayerGetPropertyInt(1, c_playerPropResearchPoints)
// L907
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L935
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L1339
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1361
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1366
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L3977
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L4025
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L4319
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L3351
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3376
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L3989
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L4022
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L6815
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L6820
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L7787
PlayerGetPropertyInt(gv_p01_USER, c_playerPropVespene)
// L7792
PlayerGetPropertyInt(gv_p01_USER, c_playerPropVespene)
// L3531
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3566
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L3798
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3824
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L4841
PlayerGetPropertyInt(gv_p05_ZERG_BASE, c_playerPropMinerals)
// L4868
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L1890
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L1919
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L4139
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L4167
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L5001
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L5031
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L4714
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L4745
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L526
PlayerGetPropertyInt(gv_pLAYER_ZERG_MAIN, c_playerPropSuppliesUsed)
// L2467
PlayerGetPropertyInt(lv_p, c_playerPropMinerals)
// L2471
PlayerGetPropertyInt(lv_p, c_playerPropVespene)
// L1226
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L1255
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L2529
PlayerGetPropertyInt(gv_p1_USER, c_playerPropMineralsCollected)
// L2635
PlayerGetPropertyInt(gv_p1_USER, c_playerPropMineralsCollected)
// L2746
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L2775
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L3538
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3566
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L284
PlayerGetPropertyInt(lv_owner, c_playerPropMinerals)
// L286
PlayerGetPropertyInt(lv_owner, c_playerPropVespene)
// L288
PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)
// L290
PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade)
// L290
PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit)
// L4074
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L4102
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L813
PlayerGetPropertyInt(gv_p07_ZERG_INFESTED, c_playerPropSuppliesLimit)
// L3266
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3296
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L4880
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L4909
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)
// L1360
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1371
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1407
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1409
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L1439
PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)
// L3606
PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals)
// L3634
PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene)