[HELP] GetPlate Command
#6

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
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]);
That works much better but its getting itself mixing the plates up with other vehicle ID's now, any ideas on how to fix that?
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: 2 Guest(s)