#1

public OnGameModeInit()
{
//Privatecars
PrivateVehicleBlackEvilS = CreateVehicle(411, 112.1450, -89.6118, 4.5540, 0.0000000, -1, -1, -1);
PrivateVehicleOhad = CreateVehicle(425, 112.1450, -113.5158, 4.5540, 0.0000000, -1, -1, -1);
return 1;
}

evey times i add this 2 lines for create 2 vehicles and i try enter on server after spawn i always get crash i have already compiled my gamemode and have 0 errors and 0 warns how i can resove this problem?
Reply
#2

Use AddStaticVehicle maybe?
Reply
#3

Quote:
Originally Posted by saffierr
Посмотреть сообщение
Use AddStaticVehicle maybe?
it always give me this problem for this i used createvehicle
Reply
#4

Some mods maya cause your game to crash, is one of the vehicles a vehicle that u have moded, because it is your client that is crashing and not your server right?
Reply
#5

i use
PrivateVehicleBlackEvilS = AddStaticVehicle(411, 112.1450, -89.6118, 4.5540, 0.0000000, 0, 1);
PrivateVehicleOhad = AddStaticVehicle(425, 112.1450, -113.5158, 4.5540, 0.0000000, 0, 1);

But always crash and i don't have any mod on vehicles when i remove this 2 lines server work perfectly but when i put this 2 lines at every spawn after login i get crash
Reply
#6

Plss someone help me
Reply
#7

Where are you using this?
Also, are your vars "new PrivateVehicleBlackEvilS;", etc and nothing else?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)