ta dando uns erros tambem
C:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4646) : warning 217: loose indentation
C:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4646) : error 029: invalid expression, assumed zero
C:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4646 -- 4647) : warning 215: expression has no effect
C:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4647) : error 001: expected token: ";", but found "return"
C:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4647) : warning 217: loose indentation
C:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4653) : warning 225: unreachable code
C:\Users\usuario\Desktop\Nova pasta (2)\Meu GM 0.3d\gamemodes\BrasilTrucker.pwn(1381) : warning 203: symbol is never used: "Dialog_Neon"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
// This command sets a skin for the player COMMAND ![]() { // Setup local variables new Msg[128], Skin; // Send the command to all admins so they can see it SendAdminText(playerid, "/setskin", params); // Check if the player has logged in if (APlayerData[playerid][LoggedIn] == true) { { if (sscanf(params, "i", Skin)) SendClientMessage(playerid, 0xFF0000AA, "Use: \"/setskin <skin-id (0-299)>\""); else { // Check if the player entered a valid skin-id if ((Skin >= 0) && (Skin <= 299)) { // Set the skin for the player SetPlayerSkin(playerid, Skin); // Let the other player know the reason too format(Msg, 128, "{00FF00}Vocк mudou o Skin: {FFFF00}%i", Skin); SendClientMessage(playerid, 0xFFFFFFFF, Msg); } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Invalido id skin, use entre 0-299"); } } else return 0; } else return 0; // Let the server know that this was a valid command return 1; |
COMMAND:setskin(playerid, params[])
{
new Msg[128], Skin;
SendAdminText(playerid, "/setskin", params);
if (APlayerData[playerid][LoggedIn] == true)
{
if (APlayerData[playerid][PlayerLevel] >= 0)
{
if (sscanf(params, "i", Skin)) SendClientMessage(playerid, 0xFF0000AA, "Use: /setskin [id(0-299)]");
if ((Skin >= 0) && (Skin <= 299))
{
SetPlayerSkin(playerid, Skin);
format(Msg, 128, "{00FF00}Vocк mudou o Skin: {FFFF00}%i", Skin);
SendClientMessage(playerid, 0xFFFFFFFF, Msg);
}
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}[TOM] Skin invбlido use valores entre 0 e 299.");
}
}
return 1;
}
C:\Users\usuario\Desktop\2\pawno\include\PPC_Playe rCommands.inc(4646) : warning 217: loose indentation C:\Users\usuario\Desktop\Nova pasta (2)\Meu GM 0.3d\gamemodes\BrasilTrucker.pwn(1381) : warning 203: symbol is never used: "Dialog_Neon" |
C:\Users\usuario\Desktop\Brasil Caminhoneiros 0.3c\gamemodes\BrasilTrucker.pwn(1376) : warning 203: symbol is never used: "Dialog_Neon" |