Jump to content

script Balíček pro RCON admins


Karel12

Recommended Posts

Zdravím,

 

Chtěl bych zde představit 1 z prvních FS, které jsem zkoušel vytvářet, takže prosím žádné narážky typu (Fuj, hnus, Co to sem vůbec dáváš, Styděl bych se to sdílet atd.. )

 

Teď k samotnému FS. Jedná se o balíček pro RCON administrátory, který obsahuje 4 zbraně (M4, Sawn-off, Eagle a Sniper) a přidá vám HP na maximum.

 

Doufám že se vám bude můj FS líbit a že ho alespoň trochu oceníte. 

 

 

Download: http://pawno.cz/files/file/327-bal%C3%AD%C4%8Dek-pro-rcon-admins/

Link to comment
Share on other sites

#include <a_samp>


public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/balicek", cmdtext, true, 1000) == 0)
{
if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid,0xff0000ff,"[ ! ] {ffffff} niesi rcon admin");
SendClientMessage(playerid,1,"{FFFFFF}( ! ) {FF0000}Vzal sis balíček {FFFFFF}!");
GivePlayerWeapon(playerid,26,120);
SetPlayerHealth(playerid,100);
GivePlayerWeapon(playerid,31,250);
GivePlayerWeapon(playerid,34,100);
GivePlayerWeapon(playerid,24,90);
return 1;
}
return 0;
}

Mohol si tam dať tu podmienku čo som tam pridal ja keď si si nevšimol tak :

if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid,0xff0000ff,"[ ! ] {ffffff} niesi rcon admin
Link to comment
Share on other sites

Tak to že sa snažíš je ale pekné. Najdôležitejšia je hlavne prezentácia, a tvoja prezentácia je dá sa povedať level 1.

 

A co si cakal odtoho ved na prezentaiu scriptu to staci .. Tak ukaz nieco ty ked si taky mudrlant rad sa na tvoje prezentacie pozriem.  ;)

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...