Y_INI BUG - Have Codes!
#1

i got problem when saving int.

INI_WriteInt(ini,"COLOR",2113864191); that is RGB COLOR - 125 255 1...

- Crashing the server..

it is working with INI_WriteString...

someone know how to fix this?
Reply
#2

HERE IS Your Answer
Reply
#3

and if money bank?

it is also crash..
Reply
#4

This needs to be working ... As Writing Hex code..
pawn Код:
new playercolor; //variable for store the player's color
INI_WriteHex(filename[], "color", GetPlayerColor(playerid)); //to write the color.. You need to use SetPlayerColor, before get the players color with this function
INI_Hex("color", playercolor); //to read the color from file
SetPlayerColor(playerid, playercolor); //to set the player's color back.
Reply
#5

BUT!!!
What about money bank?
it is also crashing!

money to hex? Ha? O_o
Reply
#6

Uhh money to
pawn Код:
INI_WriteInt(File,"Cash",0);


load

INI_Int("Cash",PlayerInfo[playerid][pCash]);
Reply
#7

Quote:
Originally Posted by yos136
Посмотреть сообщение
and if money bank?

it is also crash..
Makes total no sense!

Ur talking about colour and then money ??
Reply
#8

Quote:
Originally Posted by yos136
Посмотреть сообщение
BUT!!!
What about money bank?
it is also crashing!

money to hex? Ha? O_o
money bank is one number and not one hex
Reply
#9

so money bank set to WriteString?
Reply
#10

Quote:
Originally Posted by yos136
Посмотреть сообщение
so money bank set to WriteString?
no this form

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
Uhh money to
pawn Код:
INI_WriteInt(File,"Cash",0);


load

INI_Int("Cash",PlayerInfo[playerid][pCash]);
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)