01.08.2010, 17:45
Here's the errors
Also i have changed to a /o cmd
Код:
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"
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;
}