number of arguments do not match definition (SetVehicleNumberPlate)
#1

So I'm trying to set my vehicles number plate, but it's not working with my vehicle ownership system.

That code I have is:
pawn Код:
SetVehicleNumberPlate(CreateVehicle(CarInfo[playerscar][ownedvehicle] = CreateVehicle(CarInfo[id][vModel],CarInfo[id][vLocationx],CarInfo[id][vLocationy],CarInfo[id][vLocationz],CarInfo[id][vAngle],CarInfo[id][vColorOne],CarInfo[id][vColorTwo],300000)), CarInfo[playerscar][vPlate]);
Reply
#2

pawn Код:
SetVehicleNumberPlate((CarInfo[playerscar][ownedvehicle] = CreateVehicle(CarInfo[id][vModel],CarInfo[id][vLocationx],CarInfo[id][vLocationy],CarInfo[id][vLocationz],CarInfo[id][vAngle],CarInfo[id][vColorOne],CarInfo[id][vColorTwo],300000), CarInfo[playerscar][vPlate]);
Reply
#3

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
pawn Код:
SetVehicleNumberPlate((CarInfo[playerscar][ownedvehicle] = CreateVehicle(CarInfo[id][vModel],CarInfo[id][vLocationx],CarInfo[id][vLocationy],CarInfo[id][vLocationz],CarInfo[id][vAngle],CarInfo[id][vColorOne],CarInfo[id][vColorTwo],300000), CarInfo[playerscar][vPlate]);
Ah nearly,
Код:
 error 001: expected token: ",", but found ";"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)