SHARE
TWEET

Untitled

a guest Jan 21st, 2020 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CMD:duotiginkla(playerid,params[])
  2. {
  3.     if(playerDB[playerid][admin]>=3)
  4.     {
  5.         new tmp,tmp2,tmp3;
  6.         if(sscanf(params,"udd",tmp,tmp2,tmp3)) return SendClientMessage(playerid,HINT_COLOR,"* Duoti zaidejui ginkla: /duotiginkla [Zaidejo ID/vardo dalis][Ginklo ID][Amunicijos skaicius]");
  7.         else if(!IsPlayerConnected(tmp)) return SendClientMessage(playerid,ERROR_COLOR,"* Tokio zaidejo nera");
  8.         else if(tmp2<1 || tmp2>46) return SendClientMessage(playerid,ERROR_COLOR,"* Tokio ginklo ID nera");
  9.         else
  10.         {
  11.             GivePlayerWeaponA(tmp,tmp2,tmp3);
  12.             SendClientMessage(tmp,COLOR,"* Administratorius dave tau ginkla");
  13.         }
  14.     }
  15.     return 1;
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top