01.04.2014, 16:12
So i read before posting and understood that line is wrong because it GetPVarInt instead of SetPVarInt (its load the stored values for a specific player)
The problem is if i use SetPVarInt, the errors keep showing so i understood that i need a int_value parameter https://sampwiki.blast.hk/wiki/SetPVarInt
NOTE: I'm using Y_INI
Its under public
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
Please help...
Код:
C:\Users\Mor\Desktop\CGRP v1.02 0.3z R1 Y_INI\gamemodes\CGRP.pwn(30683) : warning 202: number of arguments does not match definition C:\Users\Mor\Desktop\CGRP v1.02 0.3z R1 Y_INI\gamemodes\CGRP.pwn(30683) : error 022: must be lvalue (non-constant)
NOTE: I'm using Y_INI
Its under public
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
Код:
INI_Int("Money", SetPVarInt(playerid, "Cash"));