[HELP] SetVehiclePos(...)
#1

hy...command is this:

Код:
public OnVehicleSpawn(vehicleid) {
	for(new i = 1; i < sizeof(cInfo); i++) { ChangeVehicleColor(cInfo[i][ownedvehicle],cInfo[vehicleid][cBoja1],cInfo[vehicleid][cBoja2]); SetVehiclePos(cInfo[i][ownedvehicle], cInfo[i][cPosX],  cInfo[i][cPosY],  cInfo[i][cPosZ]); }
	return 1; }

But it dont changes vehicle poss on spawn...dont hnow why :S
Reply
#2

Can you explain with cInfo and what exactly you're trying to do?
Reply
#3

Im bad et english but anyway...

Vehicle coords are loaded from file, rent vehicle, and when player exit vehicle the coords change...so when server respawn vehicle Im trying to vehicle spawn at coords where player exited vehicle... But it spawns always on position where server spawns it when I turn script on...

Do you understande now problem ?

tnx
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)