17.02.2013, 00:01
I've been trying to figure out what's wrong with this for a few hours.
I've tried so many different things, and no matter what it gets set to 0.
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;
}