Some Commands
#1

I Need This Commands

• /rac = Respawn All Vehicle ( Except : When They driving it )
• /giveweapon = Give Weapon To Player Example: /giveweapon 1 deserteagle

+Rep if You Help meh
Reply
#2

For future commands use THIS or THIS
Reply
#3

Wrong section.
You must post this on Script Request Thread.

Anyway here, I give it a try on mobile.

pawn Код:
CMD:rac(playerid,params[])
{
   for(new i = 1; i<= MAX_VEHICLES; i++)
   {
     if(!IsVehicleOccupied(i))
     {
      SetVehicleToRespawn(i);
      }
   }
   return 1;
}
pawn Код:
CMD:giveweapon(playerid,params[])
{
   new tid;
   new wep;
   new ammo;
   if(sscanf(params,"uii",tid,wep,ammo)) return SendClientMessage(playerid, 0xFF0000, "Usage: /giveweapon [playerid] [weaponid] [ammo]");
   GivePlayerWeapon(tid,wep,ammo);
   return 1;
}
Edit: Late.

Btw, here I used weapon id mode.

So u must use

/giveweapon (playerid) (weapon id) (ammo).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)