how to make admin have a mini-gun -
Semo - 21.03.2012
hi all i want ur help to tell me how to make an admin have mini-gun
i want to help me with pic and codes
but put the pic that i must do to make a minigun with admins
thnx
pic+codes or video
Re: how to make admin have a mini-gun -
Fj0rtizFredde - 21.03.2012
You could create a simple command like this:
pawn Код:
//Paste it under OnPlayerCommandText:
if(!strcmp(cmdtext, "/minigun", true, 7))
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"You need to be a RCON-Admin to use this command!"); //Need to be RCON-Admin.
GivePlayerWeapon(playerid,38,5000); //Minigun with 5000 ammo
SendClientMessage(playerid,-1,"You got a minigun."); //Send a message!
return 1;
}
This is just an example so play around with it.
Re: how to make admin have a mini-gun -
Semo - 21.03.2012
Quote:
Originally Posted by Fj0rtizFredde
You could create a simple command like this:
pawn Код:
//Paste it under OnPlayerCommandText: if(!strcmp(cmdtext, "/minigun", true, 7)) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"You need to be a RCON-Admin to use this command!"); //Need to be RCON-Admin. GivePlayerWeapon(playerid,38,5000); //Minigun with 5000 ammo SendClientMessage(playerid,-1,"You got a minigun."); //Send a message! return 1; }
This is just an example so play around with it. 
|
i said with pic because i dont know how to put it in my server
Re: how to make admin have a mini-gun -
Semo - 21.03.2012
waiting a help
Re: how to make admin have a mini-gun - T0pAz - 21.03.2012
Quote:
Originally Posted by Semo
i said with pic because i dont know how to put it in my server
|
Your English is remarkable and can easily be understood sir. /sarc
Re: how to make admin have a mini-gun -
Semo - 21.03.2012
r u making fun of me??
i want help not fun at me plz
Re : how to make admin have a mini-gun -
Vukilore - 21.03.2012
Open your server script ***.pwn go to the line OnPlayerCommandText (CTRL + F for find it) and put the code bellow under the callback.
Re: how to make admin have a mini-gun -
Semo - 21.03.2012
i said pic plz unserstand me im so noob with these things i need pic
Re: how to make admin have a mini-gun -
Faisal_khan - 21.03.2012
Quote:
Originally Posted by Semo
i said pic plz unserstand me im so noob with these things i need pic
|
LOL
Anyway,
Do you have skype? If yes add me there I will show you how to do it. Skype id = pfk3325.
Re: how to make admin have a mini-gun -
Unte99 - 21.03.2012
Quote:
Originally Posted by Semo
i said pic plz unserstand me im so noob with these things i need pic
|
What are you doing here ? You should be reading tutorials on basic scripting, not searching for help in here.