[help]my /spawncar is bugging it puts me ina diff vehicle
#1

thanks for having time to look at this and help me
pawn Код:
PutPlayerInVehicle(playerid, SetVehicleNumberPlate(CreateVehicle(vecid, pX, pY, pZ, pA, -1, -1, 900),"Admin Car"), 0);
Reply
#2

bump?
Reply
#3

That way wont work. Do it like this.
pawn Код:
new vehid = CreateVehicle(vecid,pX, pY, pZ, pA, -1, -1, 900;
PutPlayerInVehicle(playerid, vehid);
SetVehicleNumberPlate(vehid, "Admin Car");
You need to define the vehicle like that.
Reply
#4

now license plate is a random instead of admincar
Reply
#5

Sorry, Do this.

pawn Код:
new vehid = CreateVehicle(vecid,pX, pY, pZ, pA, -1, -1, 900;
SetVehicleNumberPlate(vehid, "Admin Car");
SetVehicleToRespawn(vehid);
PutPlayerInVehicle(playerid, vehid);
Reply
#6

nvm i got it i was
pawn Код:
new vehid = CreateVehicle(vecid, pX, pY, pZ, pA, -1, -1, 900);
            SetVehicleNumberPlate(vehid, "Admin Car");
            PutPlayerInVehicle(playerid, vehid, 0);
thanks for your help though
Reply
#7

You can't just put it all in 1 line without ",".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)