AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   player_spawn problem (https://forums.alliedmods.net/showthread.php?t=213942)

Blank_ 04-21-2013 03:22

player_spawn problem
 
(sorry, my bad english)

I just make a plugin.
I want to make a plugin that give health when spawn with pyro.

new sClass = GetEventInt(event, "class");

I use this, but sClass is,
scout = 1
soldier = 2
pyro = 3
demoman = 4
heavy = 5
enginner = 6
medic = 7
sniper = 8
spy = 9

is this correct?


All times are GMT -4. The time now is 10:54.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.