[HELP] GetPlate Command
#4

You can't store a string inside one variable like that
pawn Код:
new plate = VehicleInfo[Veh][VehPlate];
format(msg, sizeof(msg), "PLATE: %s", plate);
That will only save the first character in 'plate'

Just leave the variable away and it should be working
pawn Код:
format(msg, sizeof(msg), "PLATE: %s", VehicleInfo[Veh][VehPlate]);
Reply


Messages In This Thread
[HELP] GetPlate Command - by McGuiness - 16.10.2014, 16:02
Re: [HELP] GetPlate Command - by McGuiness - 16.10.2014, 16:06
Re: [HELP] GetPlate Command - by RockyGamer - 16.10.2014, 16:21
AW: [HELP] GetPlate Command - by Nero_3D - 16.10.2014, 16:29
Re: [HELP] GetPlate Command - by McGuiness - 16.10.2014, 16:29
Re: AW: [HELP] GetPlate Command - by McGuiness - 16.10.2014, 16:33
Re: [HELP] GetPlate Command - by McGuiness - 16.10.2014, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)