Commands arent working?
#9

Here's the errors
Код:
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(85) : warning 213: tag mismatch
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(85) : warning 202: number of arguments does not match definition
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(350) : warning 203: symbol is never used: "BData"
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(350) : warning 203: symbol is never used: "HouseData"
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(350) : warning 203: symbol is never used: "IsNumeric"
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(350) : warning 203: symbol is never used: "PlayerData"
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(350) : warning 203: symbol is never used: "ReturnUser"
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(350) : warning 203: symbol is never used: "VehicleData"
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(350) : warning 203: symbol is never used: "ret_memcpy"
C:\Users\BooNii3\Geramia RP\LS-RP\gamemodes\LS-RP1.pwn(350) : warning 203: symbol is never used: "strtok"
Also i have changed to a /o cmd

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  dcmd(o, 1, cmdtext);
  return 1;
}

dcmd_o(playerid, params[])
{
  if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "Usage: /o [chat]");
  new str[256];
  GetPlayerName(playerid, str, sizeof(str));
  format(str, sizeof(str), "%s: %s", str, params);
  SendClientMessageToAll(COLOR_WHITE, str);
  return 1;
}
Reply


Messages In This Thread
Commands arent working? - by Luis_Leone - 01.08.2010, 00:34
Re: Commands arent working? - by Kevin_Joshen - 01.08.2010, 00:37
Re: Commands arent working? - by Luis_Leone - 01.08.2010, 00:58
Re: Commands arent working? - by Kevin_Joshen - 01.08.2010, 01:07
Re: Commands arent working? - by Luis_Leone - 01.08.2010, 01:19
Re: Commands arent working? - by Kar - 01.08.2010, 01:22
Re: Commands arent working? - by Luis_Leone - 01.08.2010, 01:23
Re: Commands arent working? - by Kar - 01.08.2010, 01:42
Re: Commands arent working? - by Luis_Leone - 01.08.2010, 17:45
Re: Commands arent working? - by Kar - 01.08.2010, 17:47

Forum Jump:


Users browsing this thread: 1 Guest(s)