Raised This Month: $ Target: $400
 0% 

Adding points with CVAR for TOP15 (simple plugin, need help)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LJC
Member
Join Date: Jul 2014
Old 11-07-2014 , 08:59   Adding points with CVAR for TOP15 (simple plugin, need help)
Reply With Quote #1

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?
LJC is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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