AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Adding points with CVAR for TOP15 (simple plugin, need help) (https://forums.alliedmods.net/showthread.php?t=251175)

LJC 11-07-2014 08:59

Adding points with CVAR for TOP15 (simple plugin, need help)
 
Hello. I was wondering how I could make a plugin that adds points to a player via amxx plugin with a command similar like that:

set_user_health(id, get_user_health(id) + hp)
change to
set_user_points(id, get_user_points(id) + 1)
or something like that.

Idea is that these points could be earned only by this command (no points for killing etc.) and there would be a simple top15 with the players, who got most points.

Anyone could help me?


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

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