#1

Need help, please. Got this code from somewhere.
PHP код:
PlayerInfo[playerid][pLearn] = DOF2_GetInt(string,"LP","General"); 
I want to do the same as well. To load the LP (Learning Points) of a player, but using YSI rather than DOF2. Can someone help me "convert" it to YSI?
Reply
#2

Is there a way to convert it?
Reply
#3

Hello! Maybe this link will help you:

https://sampwiki.blast.hk/wiki/YSI:INI
Reply
#4

There's no function that gets a player's pLearn data. Like GetPlayerHealth or GetPlayerScore. Thanks anyways!
Reply
#5

Maybe you should check out this then: https://sampforum.blast.hk/showthread.php?tid=570957

Hope this helps!
Reply
#6

Still can't find one
Reply
#7

Shall we add a public or a stock to create a new function like GetPlayerPoints?
Reply
#8

I 'kinda got it already. I just need understanding on this

Quote:

Load a single tag for a single player:
Код:
forward LoadOneUser_LVDM(playerid, name[], value[]);
public LoadOneUser_LVDM(playerid, name[], value[])
{
}
Код:
INI_ParseFile(playerfile, "LoadOneUser_%s", false, true, playerid);
Source: [Include]y_ini

I think this is what I'm looking for.

Source
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)