Hi, I have a little problem with the files season second
I'm trying to create conditions for maximum stat but I still get the wrong output value for the state.
Condition I created
PHP Code:
int Strenght_Check = gObj_GetInt(aIndex, 0xB8) + Points;
int MaxStats = 32500;
if(Strenght_Check >= MaxStats){
char MaxStatMSG[200];
sprintf_s(MaxStatMSG,"You have reached the maximum number of points %d!", MaxStats);
GCServerMsgStringSend(MaxStatMSG, aIndex, 1);
return;
}
Please Ask where is my mistake?
When the contents gObjStrength, get a result that has two numbers.
If it sweeps gObj_GetInt(); function, I get a result that has 11 numbers.
I am sorry for my English.
Thanks to all for your help.