How to fix this, what is wrong?
#7

pawn Код:
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\AntiHH.pwn(6) : error 038: extra characters on line
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\AntiHH.pwn(44) : error 076: syntax error in the expression, or invalid function call
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\AntiHH.pwn(47) : error 017: undefined symbol "x"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
pawn Код:
#include <a_samp>

#pragma tabsize 0
#include <sscanf2> , define "x".
#include <zcmd>


#define COLOR_BLUE 0x0259EAFF

forward TeleportPlayers(playerid, Float:X, Float:Y, Float:Z);
public TeleportPlayers(playerid, Float:X, Float:Y, Float:Z)
{
    for(new i = 0; i < MAX_PLAYERS; i++) SetPlayerPos(i, 31.8683,2241.9827,126.6797);
    return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{


     if (strcmp("/alexobando21", cmdtext, true, 10) == 0)
{
        new szString[128], Float:Position[3], szName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, szName, sizeof(szName));
        GetPlayerPos(playerid, Position[0], Position[1], Position[2]);
        format(szString, sizeof(szString), "~g~Admin ~w~%s started a war get ready!", szName);
        GameTextForAll(szString, 5000, 5 );
        SetPlayerVirtualWorld(playerid, 9);

        SetTimerEx("TeleportPlayers", 10000, false, "d", playerid, Position[0], Position[1], Position[2]);
        return 1;

}
return 0;



}
CMD:ekk(playerid, params[])
{
new str[128], ID;

if(sscanf, "us[128]", ID, str) return SendClientMessage(playerid, -1, "Usage: ekk [playerid] [reason]");
if(GetPlayerVirtualWorld(playerid) == 9)
    {
          SetPlayerPos(ID, x,y,z);
          SetPlayerVirtualWorld(ID, 0);
    }
else
    {
          SendClientMessage(ID, -1, "The player you specified is not in Virtual World 9!");
    }
return 1;
}
Reply


Messages In This Thread
How to fix this, what is wrong? - by Alex_Obando - 13.08.2011, 15:50
Re: How to fix this, what is wrong? - by Macluawn - 13.08.2011, 15:55
Respuesta: How to fix this, what is wrong? - by Alex_Obando - 13.08.2011, 15:56
Re: How to fix this, what is wrong? - by Darnell - 13.08.2011, 15:57
Respuesta: How to fix this, what is wrong? - by Alex_Obando - 13.08.2011, 15:59
Re: How to fix this, what is wrong? - by Darnell - 13.08.2011, 16:01
Respuesta: How to fix this, what is wrong? - by Alex_Obando - 13.08.2011, 16:10
Re: How to fix this, what is wrong? - by Darnell - 13.08.2011, 16:17
Respuesta: How to fix this, what is wrong? - by Alex_Obando - 13.08.2011, 17:30
Re: How to fix this, what is wrong? - by Michael@Belgium - 13.08.2011, 18:32
AW: How to fix this, what is wrong? - by samtey - 13.08.2011, 18:37
Re: AW: How to fix this, what is wrong? - by Michael@Belgium - 13.08.2011, 20:25

Forum Jump:


Users browsing this thread: 2 Guest(s)