What's wrong With my static vehicles i added ?!!
#1

Hello All,

I 'm just a begginer, I need your Help me to fix the error :

When i Added my static vehicles under Public OnGameModeInit I could see it on my server But the problem is that i added Rhinos and hydras
and when i pressed ENTER it said "Welcome to your taxi ....." and the price was only (50 000 $)
and when i bought it and calld it it brought a TAXI to me O.o
as the ids of them was from 1 to 22 (the new vehicles used ids of vehicles which already exist)
How to give them new ids with their names and their REAL prices ??

My codes was like this :

//===============================Gamemode Start=================================
public OnGameModeInit()
{
//---------------------------Gamemode Settings----------------------------------
print("\nLoading Gamemode(SATDM~RP)");
AddStaticVehicleEx ( 520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 15 );
And other codes
Reply
#2

Код:
return 1;
at the underneath.
Is it helpful?
Reply
#3

You're using someone else's script. That's your problem. There's code somewhere that handles the buying, check and change that.
Reply
#4

No ... it wasn't helpful :P (return 1

Now it's not even for sale and when i tried to buy it said (You already have this vehicle sajed)
but i didn't buy it and i can't call it

___________________________________________
Yes i'm using someone else's script
What 's the problem could be ?
i havn't any *******
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)