11.10.2011, 23:56
pawn Код:
if(strcmp(cmd, "/rc", true) == 0)
{
if(IsPlayerAdmin(playerid));
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerInAnyVehicle(i))
new nome[MAX_PLAYER_NAME]; //aki
GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
new msg[80];
format(msg, sizeof(msg), "O Admin %s Respawnou os veiculos", nome);
SendClientMessageToAll(-1, msg);
for(new v = 0; v <= MAX_VEHICLES; v++)
{
SetVehicleToRespawn(v);
}
}
}
return 1;
}
pawn Код:
E:\Documents and Settings\Usuбrio\Desktop\GTA SAMP\BDP2\BDP\filterscripts\V-Admin.pwn(1902) : error 036: empty statement
E:\Documents and Settings\Usuбrio\Desktop\GTA SAMP\BDP2\BDP\filterscripts\V-Admin.pwn(1907) : error 003: declaration of a local variable must appear in a compound block
E:\Documents and Settings\Usuбrio\Desktop\GTA SAMP\BDP2\BDP\filterscripts\V-Admin.pwn(1907) : warning 217: loose indentation
E:\Documents and Settings\Usuбrio\Desktop\GTA SAMP\BDP2\BDP\filterscripts\V-Admin.pwn(1907) : error 017: undefined symbol "nome"
E:\Documents and Settings\Usuбrio\Desktop\GTA SAMP\BDP2\BDP\filterscripts\V-Admin.pwn(1907) : warning 215: expression has no effect
E:\Documents and Settings\Usuбrio\Desktop\GTA SAMP\BDP2\BDP\filterscripts\V-Admin.pwn(1907) : error 001: expected token: ";", but found "]"
E:\Documents and Settings\Usuбrio\Desktop\GTA SAMP\BDP2\BDP\filterscripts\V-Admin.pwn(1907) : fatal error 107: too many error messages on one line