AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Two Questions (https://forums.alliedmods.net/showthread.php?t=6321)

jarfy 09-27-2004 17:52

Two Questions
 
What will get_user_team return in Counter-Strike?

How do I define a public variable?

I've tried public x = 2, but that returns invalid expression errors.

Thanks,
Phil.

Votorx 09-27-2004 18:05

Quote:

What will get_user_team return in Counter-Strike?
If your going to use Counter-Strike you may want to use the native for Counter-Strike when getting the user’s team, check the include files and you will see how it returns...

Quote:

How do I define a public variable?
If you spend like 2 seconds looking at a plugin, you’ll be able to figure this our yourself, and if not, just stop now -.-


All times are GMT -4. The time now is 17:12.

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