How to add nitros??
#1

So guys i need a script which allows me to use nitros when i press /noson
And when I type/nos nitros will be disabled

And I wanted to know one more thing in other servers when I play and when I press tab the car jumps but in my server it doesn't what should I do??
Reply
#2

The tab thing must be a script that they've made, that's why your server doesn't do it.

This is also a place for help scripting, this isn't script requests.
Reply
#3

PHP код:
public OnPlayerCommandText(playerid,cmdtext[])
{
  if(!
strcmp(cmdtext,"/nos",true))
  {
    if(!
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xff0000ff,"You must be in a vehicle!");
    
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
    
SendClientMessage(playerid,0x00ff00ff,"Nitro added!"); //No idea what colour that is though.
    
return 1;
  }
  return 
0;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)