Search Results
Quote:
Originally Posted by BenzoAMG
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)  {    if(BusCar(GetPlayerVehicleID(playerid))) // This works    {     Â...
121
Quote:
Originally Posted by NotIntegrated
At the end of OnPlayerStateChange are you returning 0 or 1? And can we see the code for MechanicCar?
OnPlayerStateChange returns 1, here's the ...
121
Quote:
Originally Posted by NotIntegrated
Use "else if",
Код:
else if(MechanicCar(GetPlayerVehicleID(playerid)))
Doesn't work, either.
121
Hey.
I have a small issue with OnPlayerStateChange.
I check if the player is the Driver, then under this code I add another code for checking if the player is in a Job car to (not)remove them from ...
121
Quote:
Originally Posted by iPoisonxL
Try something like
PHP код:
yourCarID = CreateVehicle(vehicle parameters);Â
You are right.
I tought to do it so, but what to store...
164
Me again..
I made a COS based on the servers vehicleids, so I can't destroy a created car. If I do so the vehicle ids will mess up so I need delete all COS vehicles and start buying them again.
My q...
164
EDIT
FIXED
For everyone else having this error just remove a_npc from includes list.
283
Hey.
After updating all includes randomly, and recompiling my script I get this sscanf error:
Код:
[16:06:46] sscanf error: System not initialised.
I jus can't find the solution for this!
Hope ...
283
Hey..
I'm using 'inputtext' to get the name of the listitem in a dialog (DIALOG_STYLE_LIST)
Everything works fine for now but inputtext prints with a space a the end.
ex.
Code:
format(str,sizeof(...
99
Hey
I just can't figure out how to configure testLOS on CreateDynamic3DTextlabel to be NOT visibile trough SA Objects.
Here is how I've done it:
Код:
CreateDynamic3DTextLabel(str,-1,StanInfo[idx...
58
Ok..
I add a component to the vehicle while I'm spawning but it won't attach to the vehicle until I get in it and type /modcar .. It just won't wait for me everytime I must type the command.
70
I already saved the wheels in a file but they just wont assign to the car when I log in, just when I am in the car and tune with a comand they come back.
70
Hello,
I have a simple question.
Is there a way to assign wheels (Atomic,Import.. etc.) to a car when the driver is not in that car !?
I need it for my COS.
Thanks..
70
Hello,
I have a question !
How do I keep a variable value when the server restart without saving it !?
If I have a variable and add a value to it ex. 5 and then restart the server the value is 0 ! H...
72
I've figured it out.
My COS is loading files in the next order:
-Cars
-Motorcycles
-Bicycles
-Helis
If someone buyed a car and then a bicycle it wouldn't load it in the same order and mix the IDs.Goi...
118
I understand what you are trying to say but this COS is scripted into the Gamemode and there are just 6 AddStaticVehicle cars in the GM and I check if a car is a COS car with if(OwnedVeh) which is
К...
118
I've made a perfect Car Ownership and everything works perfect till I restart the server.
The COS is based on IG Vehicle IDs so I can retrieve data from the file when a player who is not the owner en...
118