Value can't be anything else than 0?
#1

I've been trying to figure out what's wrong with this for a few hours.
pawn Код:
if(strcmp(option, "model", true) == 0)
{
     new value = modelid;
     GateInfo[i][gModel] = value;
     format(string, sizeof(string), "You have changed the model of the gate near you to %d", GateInfo[i][gModel]);
     SendClientMessage(playerid, COLOR_YELLOW, string);
     SaveGates();
     LoadGates(playerid);
     return 1;
}
I've tried so many different things, and no matter what it gets set to 0.
Reply
#2

Nevermind, I got it working..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)