How Can I make my car faster???
#1

How Can I make my car faster by presing Ctrl
Reply
#2

Ok.

SetVehicleVelocity Read this

And this.

OnPlayerKeyStateChange
Reply
#3

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
Reply
#4

Tony, your post didn't help at all.
Reply
#5

Tony, thats something i made, the "Turbo" option does not exist, i created it myself...
Reply
#6

Tony you failed creating Turbo function !
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)