Search Results
Quote:
Originally Posted by azzerking
By using the search function: Link
This section is for scripting help, not for helping you with your laziness. Please next time use the search featur...
187
I'm looking to use zcmd but can't find it any where. Thanks in advance for any help!
187
Compiled mate, thank you
85
Код:
YCMD:poptires(playerid, params[], help)
{
new panels, doors, lights, tires;
GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehicleid, panels,...
85
I want to add an option in my dialog for players to add their own audio url. Any help please?
59
Hi guys, I'll try and explain this as clear as I can.
Basically I've seen before on a server that when inside a car, if you kept pressing left shift key you would go super fast when inside a vehicle....
127
Quote:
Originally Posted by Stinged
Do you want "TURN OFF" to be as a button or an option from a list?
Option from the list mate.
84
Hi, I've got a dialog set up as a radio system, but I want to change the colour of "TURN OFF" in the dialog. At the moment, it's just the default white colour like the other options, any ideas?
84
Quote:
Originally Posted by Ahrim
try this
pawn Код:
CMD:tduty(playerid, params[])//Trucker-duty dialog{ new vehicleid = GetPlayerVehicleID(playerid); if(GetVehicleModel(veh...
121
Quote:
Originally Posted by Dragonsaurus
Check for vehicle model not vehicle ID:
pawn Код:
CMD:tduty(playerid, params[])//Trucker-duty dialog{ new vehicleid = GetVehicleModelID(Ge...
121
Quote:
Originally Posted by Ahrim
And what does it do for now, if I may ask?
Try This.
Код:
CMD:tduty(playerid, params[])//Trucker-duty dialog
{
new vehicleid = GetPlayerVehicleI...
121
Hi there, I've been trying to add "if(IsTrailerAttachedToVehicle(vehicleid) == 403)" into this command, but I'm not having much luck. To state the obvious, I want the command to only work if the playe...
121
Quote:
Originally Posted by Matnix
I fogor to something here's your script.
pawn Код:
CMD:tduty(playerid, params[]){ new vehicleid = GetPlayerVehicleID(playerid); // I forgot that...
144
Quote:
Originally Posted by Matnix
Something like that.
pawn Код:
if(GetVehicleModel(vehicleid) == 403){ // your code}
Na, that doesn't compile mate.
144
Quote:
Originally Posted by Cypress
Right exact there is just an example for you out there
https://sampwiki.blast.hk/wiki/Function:IsPlayerInVehicle
so
pawn Код:
if(IsPlayerInVehic...
144
I'm wanting this command to only work in vehicle 403, I'm sure it's with IsPlayerInVehicle, but I can't get my head around how it works. Any help is appreciated, thanks.
Код:
CMD:tduty(playerid, ...
144
Noticed my silly error and fixed it. I've got another problem I can't seem to work out though with IsPlayerInVehicle. I want to make it so my command will only work in vehicle 403, but there's going t...
2,034
Hi there, first off, great tutorial .
One problem, everything works fine until I arrive at the last checkpoint. When I get there, nothing happens at all - the checkpoint remains there and I don't rec...
2,034