[FilterScript] Players Connected
#7

Still Fucked up

Код:
//----------------------------------------------------------
//  PlayersConnected
//  Created: Febuary 7 2012
//  By: Marc[Owner]
//----------------------------------------------------------

#include <a_samp>
#include <core>
#include <float>

new PlayersConnected = 0;

public OnFilterScriptInit()
{
        print("\n----------------------------------");
        print("Running PlayersConnected - by Marc");
        print("----------------------------------/n");
        return 1;
}

//----------------------------------------------------------

public OnPlayerConnect(playerid)
{
        new string[256];
        PlayersConnected++;
        //PlayersConnected += 1;
        format(string, sizeof(string), "(INFO) There are currently %d people in the server!", PlayersConnected);
        SendClientMessageToAll(0x00000000, string);
        return 1;
}

//----------------------------------------------------------

public OnPlayerDisconnect(playerid, reason)
{
    new string[256];
        PlayersConnected--;
        //PlayersConnected -= 1;
        format(string, sizeof(string), "(INFO) There are currently %d people in the server!", PlayersConnected);
        SendClientMessageToAll(0x00000000, string);
        return 1;
}

//----------------------------------------------------------






Look at the error



Код:
C:\Documents and Settings\EPUser\My Documents\AA- KingJ server Folder\Maps\Conect1.pwn(38) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply


Messages In This Thread
[No subject] - by Deathlane - 03.03.2012, 02:27
Re: Players Connected - by [Cali]ChrOnic_T - 03.03.2012, 02:34
Re: Players Connected - by Ballu Miaa - 03.03.2012, 02:34
Re: Players Connected - by [Cali]ChrOnic_T - 03.03.2012, 02:36
Re: Players Connected - by suhrab_mujeeb - 03.03.2012, 02:52
Re: Players Connected - by Deathlane - 03.03.2012, 03:02
Re: Players Connected - by [Cali]ChrOnic_T - 03.03.2012, 03:32
Re: Players Connected - by Jack_SMalls - 03.03.2012, 03:50
Re: Players Connected - by Deathlane - 03.03.2012, 04:10
Re: Players Connected - by Shahil kumar - 03.03.2012, 04:24
Re: Players Connected - by ddnbb - 03.03.2012, 04:46
Re: Players Connected - by DarkScripter - 03.03.2012, 05:20
Re: Players Connected - by Deathlane - 03.03.2012, 06:36
Re: Players Connected - by Sami Ham - 03.03.2012, 07:49
Re: Players Connected - by Deathlane - 03.03.2012, 09:03
Re: Players Connected - by Deathlane - 03.03.2012, 11:57
Re: Players Connected - by Kyle - 03.03.2012, 12:19
Re: Players Connected - by Bect - 03.03.2012, 13:29
Re: Players Connected - by Shadow_ - 03.03.2012, 13:32
Re: Players Connected - by eDz0r - 03.03.2012, 13:36
Re: Players Connected - by Marshall32 - 03.03.2012, 18:14
Re: Players Connected - by Quinlynn - 03.03.2012, 18:45
Re: Players Connected - by Ash. - 03.03.2012, 19:08
Re: Players Connected - by Deathlane - 03.03.2012, 23:15
Re: Players Connected - by Baboon - 03.03.2012, 23:25
Re: Players Connected - by Deathlane - 03.03.2012, 23:49
Re: Players Connected - by Ash. - 04.03.2012, 00:00
Re: Players Connected - by Deathlane - 04.03.2012, 00:08
Re: Players Connected - by Deathlane - 04.03.2012, 11:38
AW: Players Connected - by [N2L]DarkJoker - 04.03.2012, 11:51
Re: Players Connected - by Ash. - 04.03.2012, 11:54
Re: Players Connected - by Deathlane - 05.03.2012, 06:27
Re: Players Connected - by maylay - 05.03.2012, 14:02
Re: Players Connected - by Ash. - 05.03.2012, 15:41
Re: Players Connected - by Zxdsl - 05.03.2012, 16:02
Re: Players Connected - by PawnFox - 05.03.2012, 18:40
AW: Players Connected - by BigETI - 05.03.2012, 19:56
Re: Players Connected - by RAIDER (RU) - 13.04.2012, 08:46
Respuesta: Players Connected - by Francis. - 13.04.2012, 19:49
Re: Respuesta: Players Connected - by Ash. - 13.04.2012, 20:23
Re: Players Connected - by Lor_Danielle07 - 14.04.2012, 08:21
Re: Players Connected - by jueix - 14.04.2012, 09:18
AW: Players Connected - by DarkZero - 14.04.2012, 09:36
Re: Players Connected - by Deathlane - 15.04.2012, 03:08
Re: Players Connected - by RollTi - 15.04.2012, 03:14
Re: Players Connected - by Deathlane - 15.04.2012, 03:20
Re: Players Connected - by Deathlane - 15.04.2012, 03:44
Respuesta: Re: Players Connected - by Francis. - 15.04.2012, 05:14
Re: Players Connected - by Deathlane - 15.04.2012, 06:03

Forum Jump:


Users browsing this thread: 3 Guest(s)