How to add nitros??
#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


Messages In This Thread
How to add nitros?? - by Advait - 05.04.2017, 15:21
Re: How to add nitros?? - by Sew_Sumi - 05.04.2017, 16:23
Re: How to add nitros?? - by AndreiWow - 05.04.2017, 17:56

Forum Jump:


Users browsing this thread: 2 Guest(s)