• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Support PHPmyAdmin, command to add points in SQL

Stellow

C++/C#/PHP/LUA
Joined
Oct 23, 2008
Messages
1,112
Reaction score
221
Location
Germany
GitHub
eubrunomiguel
Hi everbody,
i need some help.. ;x

how can i add premium_points to x player .. eg

add 25 Poiints, in "premium_points" to player "Rhsukem "

in database, SQL

Thanks
 
UPDATE `players` SET `premium_points`=25;

^for all players

if you want it for 1 player go to your players folder -->search--> typ at "name" rhsukem then cntrl_f typ points , change 0 to 25


rep me if i helped y
 
You can do it this way easily, just change at the end "PLAYER NAME HERE" with the player name you want.
Code:
UPDATE accounts LEFT JOIN players ON accounts.ID = players.ID SET accounts.premium_points = 25 WHERE players.name = 'PLAYER NAME HERE'
 
Back
Top