[Help] Cop Cars are for rent!
#1

I really need help with this. Since i removed some Cars of CreateVehicle (im not sure if that caused the problem) i cant enter the most of the Cop cars anymore, they are locked. And the rest is for rent.

How could i fix that? Any suggestions where to check the lines?
Reply
#2

You need to fix the vehicle ID's for cop cars and rent cars, etc.
Reply
#3

Quote:
Originally Posted by -eXo
You need to fix the vehicle ID's for cop cars and rent cars, etc.
Where should it be then? Im not so familiar with that.
Reply
#4

Bump..
Reply
#5

So you deleted a few of your CreateVehicle lines?
If you started from a existing script, just check the original.

Search the missing lines and add them back, problem solved?
Reply
#6

Try making cars like this:
pawn Код:
new vehicle1 = CreateVehicle(modelid, Float:x, Float:y,Float:z, Float:angle, color1, color2, respawn_delay);
and then just use 'vehicle1' instead of ID, so you won't have problems like this if you delete or add some cars.
Reply
#7

I already tried to set back the CreateVehicles from the unedited GM, it didnt work.

I also moved the Objects and the whole things i scripted to the old Gamemode, with the old Vehicles etc, but some cars wich i spawned with "AddStaticVehicleEx" are locked.

I will try Sergiy's method now.

EDIT: I got 20 Warnings with Sergiy's method and it didnt work..
Reply
#8

Post errors here. Maybe it's just a small mistake somewhere.
Reply
#9

Quote:
Originally Posted by Sergiy
Post errors here. Maybe it's just a small mistake somewhere.
Theres no error, its just a warning. It says that, for example "bus1" is not used etc.
Reply
#10

Quote:
Originally Posted by MarqueZ92
Quote:
Originally Posted by Sergiy
Post errors here. Maybe it's just a small mistake somewhere.
Theres no error, its just a warning. It says that, for example "bus1" is not used etc.
Ah yes, you didn't use those 'new XXX' anywhere later on.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)