Jump to content
Posted
comment_788203

#include <a_samp>

#include <a_players>

#include <float>

#define TEAM_ORANGE_COLOR 0xFF8300C8

forward AdminArea();

public AdminArea()

{

new i, j, Float:X, Float:Y, Float:Z;

for (i = 0, j = MAX_PLAYERS; i < j; i++) {

GetPlayerPos(i, X, Y, Z);

if(X <=388.6190 && X >= -7.9993 && Y <= -2147.0618 && Y >= 1655.8849) // Your coordinates go here

if (IsPlayerAdmin || PlayerInfo[pAdmin] >= 1339) {

} else {

SendClientMessage(i, COLOR_ORANGE, "***Server: THIS IS THE ADMIN SHIP NOW FUCK OFF");

SetPlayerPos(i, 2470.05,2034.42,11.06); // This line dumps the player in the air over the water.

// You can change these coords, or set "i's" health to 0.

}

}

}

hoe maak ik hier een apparte FS van ???

Featured Replies

  • Author
comment_788205

eb hier de errors waar ik al helemaal niks van snap kan iemand mij helpen C:\Documents and Settings\brinks.BRINKS-9LO9NGPI\Mijn documenten\raimon's werkstuk\Server\pawno\new.pwn(25) : error 076: syntax error in the expression, or invalid function call

C:\Documents and Settings\brinks.BRINKS-9LO9NGPI\Mijn documenten\raimon's werkstuk\Server\pawno\new.pwn(25) : warning 215: expression has no effect

C:\Documents and Settings\brinks.BRINKS-9LO9NGPI\Mijn documenten\raimon's

Edited by dedeath

comment_788335

Je moet hem gewoon in de map filterscripts zetten en hem dan natuurlijk in server.cfg ook nog laden.

De error komt denk ik door het volgende:

if(X <=388.6190 && X >= -7.9993 && Y <= -2147.0618 && Y >= 1655.8849) // Your coordinates go he

achter die regel moet nog een "{"

comment_788436

Ik krijg deze errors:

C:\DOCUME~1\ADMINI~1\BUREAU~1\Server\FILTER~1\command.pwn(1345) : error 029: invalid expression, assumed zero

C:\DOCUME~1\ADMINI~1\BUREAU~1\Server\FILTER~1\command.pwn(1345 -- 1346) : warning 215: expression has no effect

C:\DOCUME~1\ADMINI~1\BUREAU~1\Server\FILTER~1\command.pwn(1346) : error 001: expected token: ";", but found "if"

C:\DOCUME~1\ADMINI~1\BUREAU~1\Server\FILTER~1\command.pwn(1346) : error 076: syntax error in the expression, or invalid function call

C:\DOCUME~1\ADMINI~1\BUREAU~1\Server\FILTER~1\command.pwn(1346) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

>>> Door Azer: Iets wat totaal niets met de beginpost te maken heeft, trouwens met alleen errorcodes kunnen we helemaal niets.<<<

Wel ik heb dat ene ook gedaan en dan jouw aanwijzing ook gedaan en toen kwam er dat :gaap:

Edited by Las Vegas

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.