[Ayuda]Mi sv no reconoce OnPlayerCommandText
#1

Ayuda,mi server no detecta OnPlayerCommandText,solo lo hace en fs .Aqui les dejo el pastebin,no tengo warnings ni errores

http://pastebin.com/CN5TBgdS
Reply
#2

Tienes comandos en zcmd?
Reply
#3

Quote:
Originally Posted by Zume-Zero
Посмотреть сообщение
Tienes comandos en zcmd?
Ninguno
Reply
#4

EstaEnJuego[playerid] = 1;

con esto bloqueas los comandos
pero eso lo tienes que tener desbloqueado en public OnPlayerConnect

Код:
public OnPlayerConnect(playerid)
{
EstaEnJuego[playerid] = 0;
tambien en


Код:
public OnPlayerDeath(playerid, killerid, reason)
{ 
EstaEnJuego[playerid] = 0;
Reply
#5

o no tendras en tu GM

#include <zcmd>
#include <Sscanf>


#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)