String error or something?
#2

pawn Код:
if(strcmp(cmd, "/plate", true) == 0)
    {
    new string[128];
    format(string, sizeof(string), "Your plate number is %d. Type /changeplate [8 chars] to change it.", PlayerInfo[playerid][pPlate]);
    SendClientMessage(playerid, COLOR_SYSTEM, string);
    return 1;
}
Try that.
Changed %s to %d
Reply


Messages In This Thread
String error or something? - by Jmarr - 14.08.2011, 17:13
AW: String error or something? - by Drebin - 14.08.2011, 17:24
Re: String error or something? - by Darnell - 14.08.2011, 17:26
Re: String error or something? - by Jmarr - 14.08.2011, 17:49

Forum Jump:


Users browsing this thread: 1 Guest(s)