Jump to content
  • 0

pomoc Admin villa


Guest sworm

Dotaz

Hojte mam takuto admin villu :

 

 

#define COLOR_BLUE 0xAFAFAFAA

 

#if defined FILTERSCRIPT

 

#define Text_Under_Minimap "~g~Admin ostrov~r~by MiNNo]"

 

forward tip();

 

#define SOUND_MUSIC10 1097

#define SOUND_OFF 1184

 

 

public OnFilterScriptInit()

{

 

//54 object

CreateObject(8417,3213.323,-1983.926,32.453,0.0,0.0,0.0);

CreateObject(1411,3194.968,-2002.016,34.023,0.0,0.0,326.250);

CreateObject(1411,3200.542,-2003.807,34.023,0.0,0.0,180.000);

CreateObject(1411,3205.799,-2003.720,34.023,0.0,0.0,180.000);

CreateObject(1411,3210.986,-2003.661,34.023,0.0,0.0,180.000);

CreateObject(1411,3216.210,-2003.652,34.023,0.0,0.0,180.000);

CreateObject(1411,3221.392,-2003.676,33.948,0.0,0.0,180.000);

CreateObject(1411,3226.602,-2003.755,34.023,0.0,0.0,180.000);

CreateObject(1411,3231.284,-2003.581,34.023,0.0,0.0,180.000);

CreateObject(1411,3233.994,-2000.737,34.023,0.0,0.0,-90.000);

CreateObject(1411,3233.912,-1995.589,33.973,0.0,0.0,270.000);

CreateObject(1411,3233.930,-1990.375,34.023,0.0,0.0,-90.000);

CreateObject(1411,3233.794,-1985.114,34.023,0.0,0.0,-90.000);

CreateObject(1411,3233.760,-1979.962,34.023,0.0,0.0,-90.000);

CreateObject(1411,3233.785,-1974.731,34.023,0.0,0.0,-90.000);

CreateObject(1411,3233.719,-1969.523,34.023,0.0,0.0,-90.000);

CreateObject(1411,3231.413,-1965.851,34.023,0.0,0.0,146.250);

CreateObject(1411,3226.703,-1964.453,34.023,0.0,0.0,-180.000);

CreateObject(1411,3221.458,-1964.512,34.023,0.0,0.0,-180.000);

CreateObject(1411,3216.147,-1964.600,34.023,0.0,0.0,-180.000);

CreateObject(1411,3210.869,-1964.859,34.023,0.0,0.0,-180.000);

CreateObject(1411,3205.700,-1964.767,34.023,0.0,0.0,-180.000);

CreateObject(1411,3200.349,-1964.641,34.023,0.0,0.0,180.000);

CreateObject(1411,3195.154,-1964.701,34.023,0.0,0.0,180.000);

CreateObject(1411,3192.901,-1967.115,34.023,0.0,0.0,270.000);

CreateObject(1411,3192.911,-1972.405,34.023,0.0,0.0,-90.000);

CreateObject(1411,3192.916,-1977.647,34.023,0.0,0.0,-90.000);

CreateObject(1411,3192.814,-1982.763,34.023,0.0,0.0,-90.000);

CreateObject(1411,3192.872,-1987.874,34.023,0.0,0.0,-90.000);

CreateObject(1411,3192.667,-1993.008,34.023,0.0,0.0,90.000);

CreateObject(1411,3193.023,-1998.039,34.023,0.0,0.0,270.000);

CreateObject(1225,3197.280,-2003.792,32.819,0.0,0.0,0.0);

CreateObject(2780,3232.604,-1966.588,32.414,0.0,0.0,0.0);

CreateObject(2780,3233.584,-2003.401,32.414,0.0,0.0,0.0);

CreateObject(2780,3193.439,-1965.214,32.414,0.0,0.0,0.0);

CreateObject(2780,3193.049,-2001.313,32.414,0.0,0.0,0.0);

CreateObject(3524,3220.865,-1964.860,35.299,0.0,0.0,0.0);

CreateObject(3524,3208.452,-1965.440,35.299,0.0,0.0,0.0);

CreateObject(3524,3193.363,-1978.323,35.299,0.0,0.0,78.750);

CreateObject(3524,3193.540,-1990.133,35.299,0.0,0.0,78.750);

CreateObject(3524,3214.434,-2002.097,35.299,0.0,0.0,191.250);

CreateObject(3524,3232.556,-1979.472,35.274,0.0,0.0,-90.000);

CreateObject(3524,3203.498,-2002.409,35.299,0.0,0.0,191.250);

CreateObject(3524,3232.785,-1994.893,35.174,0.0,0.0,-67.500);

CreateObject(1342,3206.424,-2002.470,33.422,0.0,0.0,90.000);

CreateObject(1342,3208.147,-2002.541,33.447,0.0,0.0,90.000);

CreateObject(3515,3215.017,-1967.107,33.184,0.0,0.0,0.0);

CreateObject(955,3213.214,-2002.201,32.817,0.0,0.0,180.000);

CreateObject(18090,3230.881,-1985.412,34.977,0.0,0.0,-360.000);

CreateObject(1368,3218.643,-2001.921,33.103,0.0,0.0,180.000);

CreateObject(1368,3221.195,-2001.956,33.103,0.0,0.0,180.000);

CreateObject(1218,3197.382,-2003.606,34.027,0.0,0.0,0.0);

CreateObject(1218,3197.664,-2003.370,35.187,0.0,0.0,0.0);

CreateObject(1571,3195.084,-1983.667,33.644,0.0,0.0,90.000);

 

 

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

print(" p2 by sworm");

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

return 1;

}

 

 

 

public OnFilterScriptExit()

{

return 1;

}

 

 

 

main()

{

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

print(" tG/cW mod by cTm by mino");

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

}

 

 

 

public OnPlayerConnect(playerid)

{

new Text:text = TextDrawCreate(5.0, 400.0,Text_Under_Minimap);

TextDrawUseBox(text, 0);

TextDrawFont(text, 3);

TextDrawSetShadow(text,0);

TextDrawSetOutline(text,1);

TextDrawBackgroundColor(text,0x000000FF);

TextDrawColor(text,0xFFFFFFFF);

TextDrawShowForPlayer(playerid, text);

 

 

 

public OnPlayerCommandText(playerid, cmdtext[])

{

 

 

//hubaaa

 

if (strcmp("/h", cmdtext, true, 10) == 0)

{

PlayerPlaySound(playerid,SOUND_MUSIC10,2113.6211,1683.4001,10.5078);

SendClientMessage(playerid, COLOR_BLUE, " Zapol si si hudbu . ");

return 1;

}

if (strcmp("/hoff", cmdtext, true, 10) == 0)

{

PlayerPlaySound(playerid,SOUND_OFF, 2259.8911,1689.5200,104.5028);

SendClientMessage(playerid, COLOR_BLUE, " Vypol si si hudbu .");

return 1;

}

 

 

 

 

//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;

}

 

public tip() {

switch(random(4)) { // pokud ma promenna nahoda hodnotu

case 0: { // a zde jakou hodnotu

SendClientMessageToAll(COLOR_RED, "[AUTOR]Hodne zábavy !");

}

case 1: {

SendClientMessageToAll(COLOR_RED, "[TIP] Je to moj prví výtvor. ");

}

case 2: {

SendClientMessageToAll(COLOR_RED, "[TIP]AO urobil MiNNo,z nudy!");

}

case 3: {

SendClientMessageToAll(COLOR_RED, "[TIP]AO je spravený pre FUN ! ");

}

}

 

return 1;

}

 

 

 

a hadze mi to 2 errory :

 

 

C:\Documents and Settings\user\Plocha\SAMP\mody\Little City.pwn(167) : error 001: expected token: "#endif", but found "-end of file-"

C:\Documents and Settings\user\Plocha\SAMP\mody\Little City.pwn(167) : error 013: no entry point (no public functions)

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

2 Errors.

 

 

 

Nevies co to je pls help ,robim prvikrat FS,takze asi preto pls help

Link to comment
Share on other sites

9 odpovědí na tuto otázku

Recommended Posts

  • 0
Kdybys pouzival Pawno-Developera tak to udelas sam...

za 1. developer je na p*ču

za 2. pokud neumí základy pwn tak mu nepomůže ani když to bude mít česky

Link to comment
Share on other sites

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