How Can I make my car faster??? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How Can I make my car faster??? (
/showthread.php?tid=188231)
How Can I make my car faster??? -
Exterminator - 06.11.2010
How Can I make my car faster by presing Ctrl
Respuesta: How Can I make my car faster??? -
xenowort - 06.11.2010
Ok.
SetVehicleVelocity Read this
And this.
OnPlayerKeyStateChange
Re: How Can I make my car faster??? -
Tony Pearson - 06.11.2010
There is always the 'turbo' option!
}
if(strcmp(cmdtext, "/turbo",true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 8 || IsPlayerAdmin(playerid))
{
if(Turbo[playerid] == false)
{
Turbo[playerid] = true;
SendClientMessage(playerid,COLOR_ORANGE,"You enabled boost mode");
}
else
{
Turbo[playerid] = false;
SendClientMessage(playerid,COLOR_ORANGE,"You disabled boost mode");
}
}
return 1;
}
I apologize if the spacing is wrong, but I think you would be clever enough to work it out
Re: How Can I make my car faster??? -
Moglizorz. - 06.11.2010
Tony, your post didn't help at all.
Re: How Can I make my car faster??? -
meegan1 - 18.11.2010
Tony, thats something i made, the "Turbo" option does not exist, i created it myself...
Re: How Can I make my car faster??? -
Leeroy. - 18.11.2010
Tony you failed creating Turbo function !
Re: How Can I make my car faster??? -
Steven82 - 18.11.2010
Quote:
Originally Posted by Tony Pearson
There is always the 'turbo' option!
}
if(strcmp(cmdtext, "/turbo",true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 8 || IsPlayerAdmin(playerid))
{
if(Turbo[playerid] == false)
{
Turbo[playerid] = true;
SendClientMessage(playerid,COLOR_ORANGE,"You enabled boost mode");
}
else
{
Turbo[playerid] = false;
SendClientMessage(playerid,COLOR_ORANGE,"You disabled boost mode");
}
}
return 1;
}
I apologize if the spacing is wrong, but I think you would be clever enough to work it out 
|
That looks like you just ripped it out of a gamemode, or it's yours either way it didn't help. Next time use the [pawn] brackets and stuff.