Jump to content
GIGN Forum

Psycho Stats


Recommended Posts

Nu kas tur ko nesaprast huh.gif atrver to sma failu un paarveido siis rindinjas:

register_cvar("ps_version", ps_version); ----atstaj tadu kads ir
register_cvar("ps_db_host","Ip Vai localhost atkariibaa kastev ir uzlikts");
register_cvar("ps_db_user","db lietotajvards no phpmyadmin");
register_cvar("ps_db_pass","db parole no phpmyadmin");
register_cvar("ps_db_name","ps_stats"); ---- atstaj tadu kads ir
register_cvar("ps_db_plrtable","pstats_plr"); ---- atstaj tadu kads ir
register_cvar("ps_stats_url","http://domeens/vai_ip/stats/");
register_cvar("ps_rank_url","http://domeens/vai_ip/stats/");
register_cvar("ps_uniqueid","name"); -----jaabuut name
register_cvar("ps_admin_password",""); ---- atstaj tadu kads ir
register_cvar("ps_logip","1"); ----- [atstaj tadu kads ir

ja tu nokompileeji pluginu un pievienoji pie plugins.ini tad ps_password buutu jaastraadaa///

 register_concmd("ps_password", "cmdPassword", 0, "[<old password>] <new password> - sets your password in the PsychoStats database");
register_concmd("ps_setadmin", "cmdSetAdmin", ADMIN_RCON, "<admin password> - sets you as ADMIN in the Psychostats database");
register_concmd("ps_admin",    "cmdSetAdmin", ADMIN_RCON, "<admin password> - sets you as ADMIN in the Psychostats database");
register_concmd("ps_username", "cmdUsername", 0, "<password> <new username> - sets your username in the PsychoStats database");
register_clcmd("say", "HandleSay"); 

Mantaaliekas lai uzliktu adminu vajadzeeja rakstiit

ps_setadmin", "cmdSetAdmin", ADMIN_RCON, "<admin password> - sets you as ADMIN in the Psychostats database

ps_password bija tikai pw maina, iisti neatceros... Nu bet lai kaa nu buutu pamegini abus variantus...

Edited by LiL_Netii
Link to comment
Share on other sites

Usage: ps_setadmin <admin password> - sets you as ADMIN in the Psychostats database

] ps_setadmin parole

[PsychoStats] Server admin has disabled this feature.

] ps_admin

Usage: ps_admin <admin password> - sets you as ADMIN in the Psychostats database

] ps_admin parole

[PsychoStats] Server admin has disabled this feature.

] ps_username

Usage: ps_username <password> <new username> - sets your username in the PsychoStats database

] ps_username parole edyux

[PsychoStats] Changing password for player matching name 'edyux'

[PsychoStats] No player matches your name 'edyux' in the database yet.

[PsychoStats] Please try again after the server stats have updated.

WTF? un ka vispar var to datbase updeitot man pstatos veel nevienu nerada kaut arii jau dazi ir spelejushi

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...