[Ajuda] Como desbugar uma GM
#1

Como q desbuga uma gm de facзao eu coloquei um comando ai quando entrei no server ela fico unknow command
Reply
#2

Code:
 public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
     if(!success)
     {
            Msg(playerid, -1, "O Comando Nгo Existe!");
            return 1;
     }
     return 1;
}
Й SУ UM COMANDO QUE DA ISSO?
Reply
#3

@FalcaoNC quando eu coloco isso aqui na GM da facзoes city ou GB ou GF nenhum comando pega fica sу dando unknow command
CMD:limparchat(playerid)
{
if(!IsPlayerAdmin(playerid)) return 0;

for(new i; i <= 100; i ++) {
SendClientMessageToAll(-1, " ");
}

static str[90], nick[MAX_PLAYER_NAME];

GetPlayerName(playerid, nick, sizeof nick);

format(str, sizeof str, "O Admin %s limpou o chat do servidor!", nick);

SendClientMessageToAll(-1, str);

return true;
}
Reply
#4

Quote:
Originally Posted by didimk157
View Post
@FalcaoNC quando eu coloco isso aqui na GM da facзoes city ou GB ou GF nenhum comando pega fica sу dando unknow command
CMD:limparchat(playerid)
{
if(!IsPlayerAdmin(playerid)) return 0;

for(new i; i <= 100; i ++) {
SendClientMessageToAll(-1, " ");
}

static str[90], nick[MAX_PLAYER_NAME];

GetPlayerName(playerid, nick, sizeof nick);

format(str, sizeof str, "O Admin %s limpou o chat do servidor!", nick);

SendClientMessageToAll(-1, str);

return true;
}
Vocк estб usando gamemode da GF?
Reply
#5

Nгo ja fiz isso na da GF na da GB e na da FCBT todas ficou unknow command
Reply
#6

Quote:
Originally Posted by didimk157
View Post
Nгo ja fiz isso na da GF na da GB e na da FCBT todas ficou unknow command
Primeiro que elas nгo sгo CMD:
Entгo...
PHP Code:
 public OnPlayerCommandText(playeridcmdtext[]) // Abaixo vai ter um monte cmdtext, exemplo: dcmd(limparchat, cmdtext); 
PHP Code:
 dcmd_limparchat(playeridparams[])
{
    
#pragma unused params
    
if(Player[playerid] [pAdmin] >= 1)
    for(new 
i<= 100++) {
    
SendClientMessageToAll(-1" ");
    }
    static 
str[90], nick[MAX_PLAYER_NAME];
    
GetPlayerName(playeridnicksizeof nick);
    
format(strsizeof str"O Admin %s limpou o chat do servidor!"nick);
    
SendClientMessageToAll(-1str);
    return 
true;

@EDIT

Ou vocк pode usar esse aqui tambйm...

PHP Code:
    if(strcmp(cmdtext,"/limparchat"true) == 0)
    {
        if(
Player[playerid] [pAdmin] >= 1)
        for(new 
0100a++)
        {
        
            
SendClientMessageToAll(0xFFFFFFFF" ");
            }
        return 
1;
        } 
Reply
#7

alguma include ?
Reply
#8

Quote:
Originally Posted by didimk157
View Post
alguma include ?
Nгo.
Reply
#9

Foi vlw
Reply
#10

Quote:
Originally Posted by FalcaoNC
View Post
Nгo.
@FalcaoNC qual seu face ??
Reply
#11

Falta de plugins a serem carregados, posta seu server_log pra gente dizer qual plugin nгo estб sendo carregado
Reply
#12

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[03:42:38]
[03:42:38] Server Plugins
[03:42:38] --------------
[03:42:38] Loading plugin: streamer
[03:42:38]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[03:42:38] Loaded.
[03:42:38] Loading plugin: sscanf
[03:42:38]

[03:42:38] ===============================

[03:42:38] sscanf plugin loaded.

[03:42:38] Version: 2.8.1

[03:42:38] © 2012 Alex "Y_Less" Cole

[03:42:38] ===============================

[03:42:38] Loaded.
[03:42:38] Loading plugin: FileManager
[03:42:38] ******************
[03:42:38] ** FILE MANAGER **
[03:42:38] ** Loaded **
[03:42:38] ** Version 1.5 **
[03:42:38] ******************
[03:42:38] Loaded.
[03:42:38] Loaded 3 plugins.

[03:42:38]
[03:42:38] Filterscripts
[03:42:38] ---------------
[03:42:38] Loading filterscript 'FavelasFC9.amx'...
[03:42:38]
--------------------------------------
[03:42:38] Favelas Faccoes Cty 9
[03:42:38] --------------------------------------

[03:42:38] Loaded 1 filterscripts.

[03:42:38] Filterscript 'laser.amx' unload failed.
[03:42:38]
-- Miras Laser de armas Careegado --

[03:42:38] Filterscript 'laser.amx' loaded.
[03:42:38] Open Server
[03:42:38]
-------------------------------------------------------------
[03:42:38] » GAME MODE Faccoes City «
[03:42:38] -------------------------------------------------------------
[03:42:38] - CARREGANDO 20% |::........
[03:42:38] - CARREGANDO 40% |::::......
[03:42:38] - CARREGANDO 60% |::::::....
[03:42:38] - CARREGANDO 80% |::::::::..
[03:42:38] - CARREGANDO 100% |::::::::::

[03:42:38] - GAME MODE CARREGADO COM SUCESSO

[03:42:38] www.faccoescity.16mb.com

[03:42:38] Build 9.7.2
[03:42:38] ------------------------------------------------------------

[03:42:38] Number of vehicle models: 34
[03:43:10] [connection] 127.0.0.1:49818 requests connection cookie.
[03:43:11] Incoming connection: 127.0.0.1:49818 id: 0
[03:43:11] id 0 conectando com o ip 127.0.0.1:49818
[03:43:11] [join] didmk.DONO has joined the server (0:127.0.0.1)
[03:43:25] Time taken to execute SetarPlayer: 0
[03:43:28] setVipUser(10, didmk.DONO, didmk.DONO)
[03:44:30] Time taken to execute SalvarPlayer: 1
[03:44:30] [part] didmk.DONO has left the server (0:1)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[04:41:28]
[04:41:28] Server Plugins
[04:41:28] --------------
[04:41:28] Loading plugin: streamer
[04:41:28]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[04:41:28] Loaded.
[04:41:28] Loading plugin: sscanf
[04:41:28]

[04:41:28] ===============================

[04:41:28] sscanf plugin loaded.

[04:41:28] Version: 2.8.1

[04:41:28] © 2012 Alex "Y_Less" Cole

[04:41:28] ===============================

[04:41:28] Loaded.
[04:41:28] Loading plugin: FileManager
[04:41:28] ******************
[04:41:28] ** FILE MANAGER **
[04:41:28] ** Loaded **
[04:41:28] ** Version 1.5 **
[04:41:28] ******************
[04:41:28] Loaded.
[04:41:28] Loaded 3 plugins.

[04:41:28]
[04:41:28] Filterscripts
[04:41:28] ---------------
[04:41:28] Loading filterscript 'FavelasFC9.amx'...
[04:41:28]
--------------------------------------
[04:41:28] Favelas Faccoes Cty 9
[04:41:28] --------------------------------------

[04:41:28] Loaded 1 filterscripts.

[04:41:28] Filterscript 'laser.amx' unload failed.
[04:41:28]
-- Miras Laser de armas Careegado --

[04:41:28] Filterscript 'laser.amx' loaded.
[04:41:28] Open Server
[04:41:28]
-------------------------------------------------------------
[04:41:28] » GAME MODE Faccoes City «
[04:41:28] -------------------------------------------------------------
[04:41:28] - CARREGANDO 20% |::........
[04:41:28] - CARREGANDO 40% |::::......
[04:41:28] - CARREGANDO 60% |::::::....
[04:41:28] - CARREGANDO 80% |::::::::..
[04:41:28] - CARREGANDO 100% |::::::::::

[04:41:28] - GAME MODE CARREGADO COM SUCESSO

[04:41:28] www.faccoescity.16mb.com

[04:41:28] Build 9.7.2
[04:41:28] ------------------------------------------------------------

[04:41:28] Number of vehicle models: 34
[04:41:53] [connection] 127.0.0.1:57223 requests connection cookie.
[04:41:54] Incoming connection: 127.0.0.1:57223 id: 0
[04:41:54] id 0 conectando com o ip 127.0.0.1:57223
[04:41:54] [join] didmk.DONO has joined the server (0:127.0.0.1)
[04:42:06] Time taken to execute SetarPlayer: 2
[04:42:10] Time taken to execute SalvarPlayer: 4
[04:42:28] didmk.DONO promoveu didmk.DONO a cargo 10 de EXERCITO.
[04:42:28] Time taken to execute SalvarPlayer: 1
[04:43:05] Time taken to execute SalvarPlayer: 1
[04:43:05] [part] didmk.DONO has left the server (0:1)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[05:11:55]
[05:11:55] Server Plugins
[05:11:55] --------------
[05:11:55] Loading plugin: streamer
[05:11:55]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[05:11:55] Loaded.
[05:11:55] Loading plugin: sscanf
[05:11:55]

[05:11:55] ===============================

[05:11:55] sscanf plugin loaded.

[05:11:55] Version: 2.8.1

[05:11:55] © 2012 Alex "Y_Less" Cole

[05:11:55] ===============================

[05:11:55] Loaded.
[05:11:55] Loading plugin: FileManager
[05:11:55] ******************
[05:11:55] ** FILE MANAGER **
[05:11:55] ** Loaded **
[05:11:55] ** Version 1.5 **
[05:11:55] ******************
[05:11:55] Loaded.
[05:11:55] Loaded 3 plugins.

[05:11:55]
[05:11:55] Filterscripts
[05:11:55] ---------------
[05:11:55] Loading filterscript 'FavelasFC9.amx'...
[05:11:55]
--------------------------------------
[05:11:55] Favelas Faccoes Cty 9
[05:11:55] --------------------------------------

[05:11:55] Loaded 1 filterscripts.

[05:11:55] Filterscript 'laser.amx' unload failed.
[05:11:55]
-- Miras Laser de armas Careegado --

[05:11:55] Filterscript 'laser.amx' loaded.
[05:11:55] Open Server
[05:11:55]
-------------------------------------------------------------
[05:11:55] » GAME MODE Faccoes City «
[05:11:55] -------------------------------------------------------------
[05:11:55] - CARREGANDO 20% |::........
[05:11:55] - CARREGANDO 40% |::::......
[05:11:55] - CARREGANDO 60% |::::::....
[05:11:55] - CARREGANDO 80% |::::::::..
[05:11:55] - CARREGANDO 100% |::::::::::

[05:11:55] - GAME MODE CARREGADO COM SUCESSO

[05:11:55] www.faccoescity.16mb.com

[05:11:55] CR 1.0
[05:11:55] ------------------------------------------------------------

[05:11:55] Number of vehicle models: 34

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[05:14:31]
[05:14:31] Server Plugins
[05:14:31] --------------
[05:14:31] Loading plugin: streamer
[05:14:31]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[05:14:31] Loaded.
[05:14:31] Loading plugin: sscanf
[05:14:31]

[05:14:31] ===============================

[05:14:31] sscanf plugin loaded.

[05:14:31] Version: 2.8.1

[05:14:31] © 2012 Alex "Y_Less" Cole

[05:14:31] ===============================

[05:14:31] Loaded.
[05:14:31] Loading plugin: FileManager
[05:14:31] ******************
[05:14:31] ** FILE MANAGER **
[05:14:31] ** Loaded **
[05:14:31] ** Version 1.5 **
[05:14:31] ******************
[05:14:31] Loaded.
[05:14:31] Loaded 3 plugins.

[05:14:31]
[05:14:31] Filterscripts
[05:14:31] ---------------
[05:14:31] Loading filterscript 'FavelasFC9.amx'...
[05:14:31]
--------------------------------------
[05:14:31] Favelas Faccoes Cty 9
[05:14:31] --------------------------------------

[05:14:31] Loading filterscript 'SkinEdit.amx'...
[05:14:31] Loading filterscript 'Laser.amx'...
[05:14:31]
-- Miras Laser de armas Careegado --

[05:14:31] Loaded 3 filterscripts.

[05:14:31] Filterscript 'laser.amx' unload failed.
[05:14:31]
-- Miras Laser de armas Careegado --

[05:14:31] Filterscript 'laser.amx' loaded.
[05:14:31] Open Server
[05:14:31]
-------------------------------------------------------------
[05:14:31] » GAME MODE Faccoes City «
[05:14:31] -------------------------------------------------------------
[05:14:31] - CARREGANDO 20% |::........
[05:14:31] - CARREGANDO 40% |::::......
[05:14:31] - CARREGANDO 60% |::::::....
[05:14:31] - CARREGANDO 80% |::::::::..
[05:14:31] - CARREGANDO 100% |::::::::::

[05:14:31] - GAME MODE CARREGADO COM SUCESSO

[05:14:31] www.faccoescity.16mb.com

[05:14:31] CR 1.0
[05:14:31] ------------------------------------------------------------

[05:14:31] Number of vehicle models: 34
[05:15:19] [connection] 127.0.0.1:51405 requests connection cookie.
[05:15:20] Incoming connection: 127.0.0.1:51405 id: 0
[05:15:20] id 0 conectando com o ip 127.0.0.1:51405
[05:15:20] [join] didmk.DONO has joined the server (0:127.0.0.1)
[05:15:32] Time taken to execute SetarPlayer: 2
[05:15:50] didmk.DONO promoveu didmk.DONO a cargo 0 de EXERCITO.
[05:15:50] Time taken to execute SalvarPlayer: 1
[05:15:55] Time taken to execute SalvarPlayer: 3
[05:16:03] Time taken to execute SalvarPlayer: 3
[05:16:06] Time taken to execute SalvarPlayer: 1
[05:16:09] Time taken to execute SalvarPlayer: 1
[05:16:11] Time taken to execute SalvarPlayer: 1
[05:16:13] Time taken to execute SalvarPlayer: 2
[05:16:15] Time taken to execute SalvarPlayer: 1
[05:16:17] Time taken to execute SalvarPlayer: 1
[05:16:18] Time taken to execute SalvarPlayer: 1
[05:16:19] Time taken to execute SalvarPlayer: 1
[05:16:20] Time taken to execute SalvarPlayer: 1
[05:16:21] Time taken to execute SalvarPlayer: 1
[05:16:22] Time taken to execute SalvarPlayer: 1
[05:16:23] Time taken to execute SalvarPlayer: 1
[05:16:24] Time taken to execute SalvarPlayer: 1
[05:16:25] Time taken to execute SalvarPlayer: 1
[05:16:26] Time taken to execute SalvarPlayer: 2
[05:16:27] Time taken to execute SalvarPlayer: 2
[05:16:28] Time taken to execute SalvarPlayer: 0
[05:16:29] Time taken to execute SalvarPlayer: 1
[05:16:30] Time taken to execute SalvarPlayer: 2
[05:16:31] Time taken to execute SalvarPlayer: 1
[05:16:31] Time taken to execute SalvarPlayer: 1
[05:16:32] Time taken to execute SalvarPlayer: 1
[05:16:33] Time taken to execute SalvarPlayer: 1
[05:16:34] Time taken to execute SalvarPlayer: 2
[05:16:35] Time taken to execute SalvarPlayer: 1
[05:16:35] Time taken to execute SalvarPlayer: 1
[05:16:36] Time taken to execute SalvarPlayer: 3
[05:16:37] Time taken to execute SalvarPlayer: 1
[05:16:38] Time taken to execute SalvarPlayer: 2
[05:16:39] Time taken to execute SalvarPlayer: 1
[05:16:40] Time taken to execute SalvarPlayer: 1
[05:16:40] Time taken to execute SalvarPlayer: 2
[05:17:05] setVipUser(0, didmk.DONO, didmk.DONO)
[05:17:05] Time taken to execute SalvarPlayer: 2
[05:17:05] didmk.DONO deu 0 dias de vip para didmk.DONO.
[05:17:09] Time taken to execute SalvarPlayer: 1
[05:17:30] Time taken to execute SalvarPlayer: 1
[05:17:30] [part] didmk.DONO has left the server (0:1)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[05:18:51]
[05:18:51] Server Plugins
[05:18:51] --------------
[05:18:51] Loading plugin: streamer
[05:18:51]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[05:18:51] Loaded.
[05:18:51] Loading plugin: sscanf
[05:18:51]

[05:18:51] ===============================

[05:18:51] sscanf plugin loaded.

[05:18:51] Version: 2.8.1

[05:18:51] © 2012 Alex "Y_Less" Cole

[05:18:51] ===============================

[05:18:51] Loaded.
[05:18:51] Loading plugin: FileManager
[05:18:51] ******************
[05:18:51] ** FILE MANAGER **
[05:18:51] ** Loaded **
[05:18:51] ** Version 1.5 **
[05:18:51] ******************
[05:18:51] Loaded.
[05:18:51] Loaded 3 plugins.

[05:18:51]
[05:18:51] Filterscripts
[05:18:51] ---------------
[05:18:51] Loading filterscript 'FavelasFC9.amx'...
[05:18:51]
--------------------------------------
[05:18:51] Favelas Faccoes Cty 9
[05:18:51] --------------------------------------

[05:18:51] Loading filterscript 'SkinEdit.amx'...
[05:18:51] Loading filterscript 'Laser.amx'...
[05:18:51]
-- Miras Laser de armas Careegado --

[05:18:51] Loaded 3 filterscripts.

[05:18:51] Filterscript 'laser.amx' unload failed.
[05:18:51]
-- Miras Laser de armas Careegado --

[05:18:51] Filterscript 'laser.amx' loaded.
[05:18:51] Open Server
[05:18:51]
-------------------------------------------------------------
[05:18:51] » GAME MODE Faccoes City «
[05:18:51] -------------------------------------------------------------
[05:18:51] - CARREGANDO 20% |::........
[05:18:51] - CARREGANDO 40% |::::......
[05:18:51] - CARREGANDO 60% |::::::....
[05:18:51] - CARREGANDO 80% |::::::::..
[05:18:51] - CARREGANDO 100% |::::::::::

[05:18:51] - GAME MODE CARREGADO COM SUCESSO

[05:18:51] www.faccoescity.16mb.com

[05:18:51] CR 1.0
[05:18:51] ------------------------------------------------------------

[05:18:51] Number of vehicle models: 34
[05:19:12] [connection] 127.0.0.1:59960 requests connection cookie.
[05:19:13] Incoming connection: 127.0.0.1:59960 id: 0
[05:19:13] id 0 conectando com o ip 127.0.0.1:59960
[05:19:13] [join] didmk.DONO has joined the server (0:127.0.0.1)
[05:19:22] Time taken to execute SetarPlayer: 2
[05:19:25] setVipUser(10, didmk.DONO, didmk.DONO)
[05:19:35] setVipUser(0, didmk.DONO, didmk.DONO)
[05:19:35] Time taken to execute SalvarPlayer: 2
[05:19:35] didmk.DONO deu 0 dias de vip para didmk.DONO.
[05:19:38] Time taken to execute SalvarPlayer: 1
[05:19:45] setVipUser(10, didmk.DONO, didmk.DONO)
[05:19:45] Time taken to execute SalvarPlayer: 2
[05:19:45] didmk.DONO deu 10 dias de vip para didmk.DONO.
[05:19:48] Time taken to execute SalvarPlayer: 1
[05:20:00] Time taken to execute SalvarPlayer: 1
[05:20:00] [part] didmk.DONO has left the server (0:1)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[05:24:08]
[05:24:08] Server Plugins
[05:24:08] --------------
[05:24:08] Loading plugin: streamer
[05:24:08]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[05:24:08] Loaded.
[05:24:08] Loading plugin: sscanf
[05:24:08]

[05:24:08] ===============================

[05:24:08] sscanf plugin loaded.

[05:24:08] Version: 2.8.1

[05:24:08] © 2012 Alex "Y_Less" Cole

[05:24:08] ===============================

[05:24:08] Loaded.
[05:24:08] Loading plugin: FileManager
[05:24:08] ******************
[05:24:08] ** FILE MANAGER **
[05:24:08] ** Loaded **
[05:24:08] ** Version 1.5 **
[05:24:08] ******************
[05:24:08] Loaded.
[05:24:08] Loaded 3 plugins.

[05:24:08]
[05:24:08] Filterscripts
[05:24:08] ---------------
[05:24:08] Loading filterscript 'FavelasFC9.amx'...
[05:24:08]
--------------------------------------
[05:24:08] Favelas Faccoes Cty 9
[05:24:08] --------------------------------------

[05:24:08] Loading filterscript 'SkinEdit.amx'...
[05:24:08] Loading filterscript 'Laser.amx'...
[05:24:08]
-- Miras Laser de armas Careegado --

[05:24:08] Loaded 3 filterscripts.

[05:24:08] Filterscript 'laser.amx' unload failed.
[05:24:08]
-- Miras Laser de armas Careegado --

[05:24:08] Filterscript 'laser.amx' loaded.
[05:24:08] Open Server
[05:24:08]
-------------------------------------------------------------
[05:24:08] » GAME MODE Faccoes City «
[05:24:08] -------------------------------------------------------------
[05:24:08] - CARREGANDO 20% |::........
[05:24:08] - CARREGANDO 40% |::::......
[05:24:08] - CARREGANDO 60% |::::::....
[05:24:08] - CARREGANDO 80% |::::::::..
[05:24:08] - CARREGANDO 100% |::::::::::

[05:24:08] - GAME MODE CARREGADO COM SUCESSO

[05:24:08] www.faccoescity.16mb.com

[05:24:08] CR 1.0
[05:24:08] ------------------------------------------------------------

[05:24:08] Number of vehicle models: 34

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[05:36:27]
[05:36:27] Server Plugins
[05:36:27] --------------
[05:36:27] Loading plugin: streamer
[05:36:27]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[05:36:27] Loaded.
[05:36:27] Loading plugin: sscanf
[05:36:27]

[05:36:27] ===============================

[05:36:27] sscanf plugin loaded.

[05:36:27] Version: 2.8.1

[05:36:27] © 2012 Alex "Y_Less" Cole

[05:36:27] ===============================

[05:36:27] Loaded.
[05:36:27] Loading plugin: FileManager
[05:36:27] ******************
[05:36:27] ** FILE MANAGER **
[05:36:27] ** Loaded **
[05:36:27] ** Version 1.5 **
[05:36:27] ******************
[05:36:27] Loaded.
[05:36:27] Loaded 3 plugins.

[05:36:27]
[05:36:27] Filterscripts
[05:36:27] ---------------
[05:36:27] Loading filterscript 'FavelasFC9.amx'...
[05:36:27]
--------------------------------------
[05:36:27] Favelas Faccoes Cty 9
[05:36:27] --------------------------------------

[05:36:27] Loading filterscript 'SkinEdit.amx'...
[05:36:27] Loading filterscript 'Laser.amx'...
[05:36:27]
-- Miras Laser de armas Careegado --

[05:36:27] Loaded 3 filterscripts.

[05:36:27] Filterscript 'laser.amx' unload failed.
[05:36:27]
-- Miras Laser de armas Careegado --

[05:36:27] Filterscript 'laser.amx' loaded.
[05:36:27] Open Server
[05:36:27]
-------------------------------------------------------------
[05:36:27] » GAME MODE Faccoes City «
[05:36:27] -------------------------------------------------------------
[05:36:27] - CARREGANDO 20% |::........
[05:36:27] - CARREGANDO 40% |::::......
[05:36:27] - CARREGANDO 60% |::::::....
[05:36:27] - CARREGANDO 80% |::::::::..
[05:36:27] - CARREGANDO 100% |::::::::::

[05:36:27] - GAME MODE CARREGADO COM SUCESSO

[05:36:27] www.faccoescity.16mb.com

[05:36:27] CR 1.0
[05:36:27] ------------------------------------------------------------

[05:36:27] Number of vehicle models: 34
[05:36:55] [connection] 127.0.0.1:60759 requests connection cookie.
[05:36:56] Incoming connection: 127.0.0.1:60759 id: 0
[05:36:56] id 0 conectando com o ip 127.0.0.1:60759
[05:36:56] [join] didmk.DONO has joined the server (0:127.0.0.1)
[05:37:05] Time taken to execute SetarPlayer: 1
[05:37:15] Time taken to execute SalvarPlayer: 2
[05:38:07] Time taken to execute SalvarPlayer: 1
[05:38:07] [part] didmk.DONO has left the server (0:1)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[05:43:20]
[05:43:20] Server Plugins
[05:43:20] --------------
[05:43:20] Loading plugin: streamer
[05:43:20]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[05:43:20] Loaded.
[05:43:20] Loading plugin: sscanf
[05:43:20]

[05:43:20] ===============================

[05:43:20] sscanf plugin loaded.

[05:43:20] Version: 2.8.1

[05:43:20] © 2012 Alex "Y_Less" Cole

[05:43:20] ===============================

[05:43:20] Loaded.
[05:43:20] Loading plugin: FileManager
[05:43:20] ******************
[05:43:20] ** FILE MANAGER **
[05:43:20] ** Loaded **
[05:43:20] ** Version 1.5 **
[05:43:20] ******************
[05:43:20] Loaded.
[05:43:20] Loaded 3 plugins.

[05:43:20]
[05:43:20] Filterscripts
[05:43:20] ---------------
[05:43:20] Loading filterscript 'FavelasFC9.amx'...
[05:43:20]
--------------------------------------
[05:43:20] Favelas Faccoes Cty 9
[05:43:20] --------------------------------------

[05:43:20] Loading filterscript 'SkinEdit.amx'...
[05:43:20] Loading filterscript 'Laser.amx'...
[05:43:20]
-- Miras Laser de armas Careegado --

[05:43:20] Loaded 3 filterscripts.

[05:43:20] Filterscript 'laser.amx' unload failed.
[05:43:20]
-- Miras Laser de armas Careegado --

[05:43:20] Filterscript 'laser.amx' loaded.
[05:43:20] Open Server
[05:43:20]
-------------------------------------------------------------
[05:43:20] » GAME MODE Faccoes City «
[05:43:20] -------------------------------------------------------------
[05:43:20] - CARREGANDO 20% |::........
[05:43:20] - CARREGANDO 40% |::::......
[05:43:20] - CARREGANDO 60% |::::::....
[05:43:20] - CARREGANDO 80% |::::::::..
[05:43:20] - CARREGANDO 100% |::::::::::

[05:43:20] - GAME MODE CARREGADO COM SUCESSO

[05:43:20] www.faccoescity.16mb.com

[05:43:20] CR 1.0
[05:43:20] ------------------------------------------------------------

[05:43:20] Number of vehicle models: 34
[05:43:45] [connection] 127.0.0.1:56240 requests connection cookie.
[05:43:46] Incoming connection: 127.0.0.1:56240 id: 0
[05:43:46] id 0 conectando com o ip 127.0.0.1:56240
[05:43:46] [join] didmk.DONO has joined the server (0:127.0.0.1)
[05:43:55] Time taken to execute SetarPlayer: 2
[05:44:08] Time taken to execute SalvarPlayer: 2
[05:44:08] [part] didmk.DONO has left the server (0:1)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[05:51:45]
[05:51:45] Server Plugins
[05:51:45] --------------
[05:51:45] Loading plugin: streamer
[05:51:45]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[05:51:45] Loaded.
[05:51:45] Loading plugin: sscanf
[05:51:45]

[05:51:45] ===============================

[05:51:45] sscanf plugin loaded.

[05:51:45] Version: 2.8.1

[05:51:45] © 2012 Alex "Y_Less" Cole

[05:51:45] ===============================

[05:51:45] Loaded.
[05:51:45] Loading plugin: FileManager
[05:51:45] ******************
[05:51:45] ** FILE MANAGER **
[05:51:45] ** Loaded **
[05:51:45] ** Version 1.5 **
[05:51:45] ******************
[05:51:45] Loaded.
[05:51:45] Loaded 3 plugins.

[05:51:45]
[05:51:45] Filterscripts
[05:51:45] ---------------
[05:51:45] Loading filterscript 'FavelasFC9.amx'...
[05:51:45]
--------------------------------------
[05:51:45] Favelas Faccoes Cty 9
[05:51:45] --------------------------------------

[05:51:45] Loading filterscript 'SkinEdit.amx'...
[05:51:45] Loading filterscript 'Laser.amx'...
[05:51:45]
-- Miras Laser de armas Careegado --

[05:51:45] Loaded 3 filterscripts.

[05:51:45] Filterscript 'laser.amx' unload failed.
[05:51:45]
-- Miras Laser de armas Careegado --

[05:51:45] Filterscript 'laser.amx' loaded.
[05:51:45] Open Server
[05:51:45]
-------------------------------------------------------------
[05:51:45] » GAME MODE Faccoes City «
[05:51:45] -------------------------------------------------------------
[05:51:45] - CARREGANDO 20% |::........
[05:51:45] - CARREGANDO 40% |::::......
[05:51:45] - CARREGANDO 60% |::::::....
[05:51:45] - CARREGANDO 80% |::::::::..
[05:51:45] - CARREGANDO 100% |::::::::::

[05:51:45] - GAME MODE CARREGADO COM SUCESSO

[05:51:45] www.faccoescity.16mb.com

[05:51:45] CR 1.0
[05:51:45] ------------------------------------------------------------

[05:51:45] Number of vehicle models: 34
[05:52:08] [connection] 127.0.0.1:49575 requests connection cookie.
[05:52:09] Incoming connection: 127.0.0.1:49575 id: 0
[05:52:09] id 0 conectando com o ip 127.0.0.1:49575
[05:52:09] [join] didmk.DONO has joined the server (0:127.0.0.1)
[05:52:18] Time taken to execute SetarPlayer: 1
[05:52:31] Time taken to execute SalvarPlayer: 2
[05:52:31] [part] didmk.DONO has left the server (0:1)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[06:08:50]
[06:08:50] Server Plugins
[06:08:50] --------------
[06:08:50] Loading plugin: streamer
[06:08:50]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[06:08:50] Loaded.
[06:08:50] Loading plugin: sscanf
[06:08:50]

[06:08:50] ===============================

[06:08:50] sscanf plugin loaded.

[06:08:50] Version: 2.8.1

[06:08:50] © 2012 Alex "Y_Less" Cole

[06:08:50] ===============================

[06:08:50] Loaded.
[06:08:50] Loading plugin: FileManager
[06:08:50] ******************
[06:08:50] ** FILE MANAGER **
[06:08:50] ** Loaded **
[06:08:50] ** Version 1.5 **
[06:08:50] ******************
[06:08:50] Loaded.
[06:08:50] Loaded 3 plugins.

[06:08:50]
[06:08:50] Filterscripts
[06:08:50] ---------------
[06:08:50] Loading filterscript 'FavelasFC9.amx'...
[06:08:50]
--------------------------------------
[06:08:50] Favelas Faccoes Cty 9
[06:08:50] --------------------------------------

[06:08:50] Loading filterscript 'SkinEdit.amx'...
[06:08:50] Loading filterscript 'Laser.amx'...
[06:08:50]
-- Miras Laser de armas Careegado --

[06:08:50] Loaded 3 filterscripts.

[06:08:50] Filterscript 'laser.amx' unload failed.
[06:08:50]
-- Miras Laser de armas Careegado --

[06:08:50] Filterscript 'laser.amx' loaded.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[06:10:00]
[06:10:00] Server Plugins
[06:10:00] --------------
[06:10:00] Loading plugin: streamer
[06:10:00]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[06:10:00] Loaded.
[06:10:00] Loading plugin: sscanf
[06:10:00]

[06:10:00] ===============================

[06:10:00] sscanf plugin loaded.

[06:10:00] Version: 2.8.1

[06:10:00] © 2012 Alex "Y_Less" Cole

[06:10:00] ===============================

[06:10:00] Loaded.
[06:10:00] Loading plugin: FileManager
[06:10:00] ******************
[06:10:00] ** FILE MANAGER **
[06:10:00] ** Loaded **
[06:10:00] ** Version 1.5 **
[06:10:00] ******************
[06:10:00] Loaded.
[06:10:00] Loaded 3 plugins.

[06:10:01]
[06:10:01] Filterscripts
[06:10:01] ---------------
[06:10:01] Loading filterscript 'FavelasFC9.amx'...
[06:10:01]
--------------------------------------
[06:10:01] Favelas Faccoes Cty 9
[06:10:01] --------------------------------------

[06:10:01] Loaded 1 filterscripts.

[06:10:01] Filterscript 'laser.amx' unload failed.
[06:10:01]
-- Miras Laser de armas Careegado --

[06:10:01] Filterscript 'laser.amx' loaded.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[06:12:15]
[06:12:15] Server Plugins
[06:12:15] --------------
[06:12:15] Loading plugin: streamer
[06:12:15]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[06:12:15] Loaded.
[06:12:15] Loading plugin: sscanf
[06:12:15]

[06:12:15] ===============================

[06:12:15] sscanf plugin loaded.

[06:12:15] Version: 2.8.1

[06:12:15] © 2012 Alex "Y_Less" Cole

[06:12:15] ===============================

[06:12:15] Loaded.
[06:12:15] Loading plugin: FileManager
[06:12:15] ******************
[06:12:15] ** FILE MANAGER **
[06:12:15] ** Loaded **
[06:12:15] ** Version 1.5 **
[06:12:15] ******************
[06:12:15] Loaded.
[06:12:15] Loaded 3 plugins.

[06:12:16]
[06:12:16] Filterscripts
[06:12:16] ---------------
[06:12:16] Loading filterscript 'FavelasFC9.amx'...
[06:12:16]
--------------------------------------
[06:12:16] Favelas Faccoes Cty 9
[06:12:16] --------------------------------------

[06:12:16] Loaded 1 filterscripts.

[06:12:16] Filterscript 'laser.amx' unload failed.
[06:12:16]
-- Miras Laser de armas Careegado --

[06:12:16] Filterscript 'laser.amx' loaded.
[06:12:16] Open Server

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[06:12:49]
[06:12:49] Server Plugins
[06:12:49] --------------
[06:12:49] Loading plugin: streamer
[06:12:49]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[06:12:49] Loaded.
[06:12:49] Loading plugin: sscanf
[06:12:49]

[06:12:49] ===============================

[06:12:49] sscanf plugin loaded.

[06:12:49] Version: 2.8.1

[06:12:49] © 2012 Alex "Y_Less" Cole

[06:12:49] ===============================

[06:12:49] Loaded.
[06:12:49] Loading plugin: FileManager
[06:12:49] ******************
[06:12:49] ** FILE MANAGER **
[06:12:49] ** Loaded **
[06:12:49] ** Version 1.5 **
[06:12:49] ******************
[06:12:49] Loaded.
[06:12:49] Loaded 3 plugins.

[06:12:49]
[06:12:49] Filterscripts
[06:12:49] ---------------
[06:12:49] Loading filterscript 'FavelasFC9.amx'...
[06:12:49]
--------------------------------------
[06:12:49] Favelas Faccoes Cty 9
[06:12:49] --------------------------------------

[06:12:49] Loaded 1 filterscripts.

[06:12:49] Filterscript 'laser.amx' unload failed.
[06:12:49]
-- Miras Laser de armas Careegado --

[06:12:49] Filterscript 'laser.amx' loaded.
[06:12:49] Open Server
Reply
#13

Mano, vocк nгo estava usando a gamemode da GTA Facзхes?
Te dou uma dica, usa sу uma, recomendo vocк usar a GTA Facзхes para base, e para vocк ir aprendendo...
Ela й uma gamemode muito boa, porem alguns bugs... Se vocк ficar trocando de gamemode ( base ) toda hora, vocк nгo vai conseguir alcanзar seu objetivo.

*** LEMBRANDO, Facзхes city, tambйm й base da GF ***, fique com uma das duas... sгo as melhores, GB tem vнrus.

Quando for criar um tуpico de ajuda, e colocar o code coloque assim

[CODE] Cуdigo aqui [*/CODE] Coloque sem o * , Ficara assim.

Code:
 Cуdigo
Reply
#14

[CODE] Cуdigo [*/CODE]
Reply
#15

Quote:
Originally Posted by didimk157
View Post
[CODE] Cуdigo [*/CODE]
Cara, sйrio, qual a dificuldade de LER ?

ele disse " [CODE] Cуdigo aqui [*/CODE] Coloque sem o * "

tem que tirar o * do [*/CODE]
pawn Code:
[code]Mistйrio ?[/code]
Reply
#16

Quote:
Originally Posted by didimk157
View Post
[CODE] Cуdigo [*/CODE]
hehe esse iria pro Pйrolas da board
Reply
#17

Quote:
Originally Posted by FalcaoNC
View Post
Primeiro que elas nгo sгo CMD:
Entгo...
PHP Code:
 public OnPlayerCommandText(playeridcmdtext[]) // Abaixo vai ter um monte cmdtext, exemplo: dcmd(limparchat, cmdtext); 
PHP Code:
 dcmd_limparchat(playeridparams[])
{
    
#pragma unused params
    
if(Player[playerid] [pAdmin] >= 1)
    for(new 
i<= 100++) {
    
SendClientMessageToAll(-1" ");
    }
    static 
str[90], nick[MAX_PLAYER_NAME];
    
GetPlayerName(playeridnicksizeof nick);
    
format(strsizeof str"O Admin %s limpou o chat do servidor!"nick);
    
SendClientMessageToAll(-1str);
    return 
true;

@EDIT

Ou vocк pode usar esse aqui tambйm...

PHP Code:
    if(strcmp(cmdtext,"/limparchat"true) == 0)
    {
        if(
Player[playerid] [pAdmin] >= 1)
        for(new 
0100a++)
        {
        
            
SendClientMessageToAll(0xFFFFFFFF" ");
            }
        return 
1;
        } 

faz isso nao..


PHP Code:
dcmd_limparchat(playeridparams[]) 

    
#pragma unused params 
    
if(Player[playerid][pAdmin] >= 1
    {
        for(new 
065i++)
            if(
IsPlayerConnected(i))
                
SendClientMessage(playerid, -1" ");
    
        new 
str[90], nick[MAX_PLAYER_NAME]; 
        
GetPlayerName(playeridnicksizeof nick); 
        
format(strsizeof str"O Admin %s limpou o chat do servidor!"nick); 
        
SendClientMessageToAll(-1str); 
    }
    return 
true

Reply
#18

Quote:
Originally Posted by PT
View Post
faz isso nao..
PHP Code:
dcmd_limparchat(playeridparams[]) 

    
#pragma unused params 
    
if(Player[playerid][pAdmin] >= 1
    {
        for(new 
065i++)
            if(
IsPlayerConnected(i))
                
SendClientMessage(playerid, -1" ");
    
        new 
str[90], nick[MAX_PLAYER_NAME]; 
        
GetPlayerName(playeridnicksizeof nick); 
        
format(strsizeof str"O Admin %s limpou o chat do servidor!"nick); 
        
SendClientMessageToAll(-1str); 
    }
    return 
true

Mais PT, como explica o #pragma unused params
No caso se eu por
CMD:limparchat(playerid) //nгo faria o mesmo resultado ?
Reply
#19

Quote:
Originally Posted by PedroEduardo
View Post
Mais PT, como explica o #pragma unused params
No caso se eu por
CMD:limparchat(playerid) //nгo faria o mesmo resultado ?
No dcmd nao й igual ao zcmd.
Reply
#20

Isso aqui deve resolver seu problema com isso vocк tem a posibilidade de usar strcmp & zcmd juntos

PHP Code:
public OnPlayerCommandPerformed(playeridcmdtext[], success)
{
    if(!
success)
    {
     
OnPlayerCommandText(playeridcmdtext);
     return 
1;
    }
    return 
1;

Sempre resolve
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)