13.03.2010, 20:24
So yeah, my mind is exploding with this silly little error and I just can't figure it out:
It saves yeah, but loading this motto on connect just won't work.
So, can someone give me the line of loading this motto on connect? Thanks.
pawn Код:
new motto[128];
// dcmd command here
if (sscanf(inputtext, "s", motto))
{
format(string, sizeof(string), "Your motto: %s", motto);
SendClientMessageToAll(COLOR_GREY, string);
}
// end etc.
// onplayerdisconnect
dUserSet(PlayerName(playerid)).("motto",motto);
So, can someone give me the line of loading this motto on connect? Thanks.