Jump to content
  • 0

pomoc FS


Guest sworm

Dotaz

Cafte ja newiem ako spravit FS

 

 

#define COLOR_BLUE 0xAFAFAFAA

 

#if defined FILTERSCRIPT

 

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" p2 by sworm");

print("--------------------------------------\n");

return 1;

}

 

public OnFilterScriptExit()

 

{

return 1;

}

 

 

public OnPlayerCommandText(playerid, cmdtext[])

{

 

//GiveallMoney

 

if(strcmp(cmdtext, "/givemoneyall", true) == 0 && IsPlayerAdmin(playerid)) {

for(new i=0; i

{

if(IsPlayerConnected(i)) {

//sprava pre hraca

GivePlayerMoney(i, 100000);

}

}

SendClientMessageToAll(COLOR_BLUE,"Všetci hráči dostali od admina 100000 . ");

return 1;

}

 

 

 

Napriklad toto by bol FS,ptz ja mam spravenu admin villu a ked ju cem dat do FS tak spravim toto iste a este pridam OnGameModeInit a pridam objecty atd .. ?

Link to comment
Share on other sites

4 odpovědí na tuto otázku

Recommended Posts

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...