17.04.2015, 02:48
PHP код:
if( !strcmp( cmd, "/roubar", true ))
{
if( pInfo[ playerid ][ Prof ] == ASSALTANTE || aInfo[ playerid ][ Admin ] == 1 || aInfo[ playerid ][ Gerente ] == 1 )
{
if( !PlayerToPoint( 1.1, playerid, 822.1100, 6.3482, 1004.1797 ))
{
SendClientMessage( playerid, COLOR_ERRO, "[ x ] Vocк nгo estб no Banco Central de Los Santos !" );
return 1;
}
if( pInfo[ playerid ][ Prof ] != ASSALTANTE )
{
SendClientMessage( playerid, COLOR_ERRO, "[ x ] Vocк nгo й um Assaltante !" );
return 1;
}
if( Roubou[ playerid ] > gettime( ))
{
format( gStr, sizeof( gStr ), "[ x ] Aguarde %d segundos para poder efetuar o Comando! !", Roubou[ playerid ] - gettime( ));
SendClientMessage( playerid, COLOR_ERRO, gStr );
return 1;
}
CreateExplosion(822.0086,4.2834,1004.1797, 12, 10.0);
format( s5Doze, sizeof( s5Doze ), "[ PROCURADO ] O(A) Assaltante %s acabou de roubar o Banco central de Los Santos", PlayerName( playerid ) );
SendClientMessageToAll( COLOR_LARANJA, s5Doze );
MensagemFormatada( playerid, 0xFFFFFFAA, "[ Roubo Sucedido ] Vocк Roubou $10,000 e agora estб sendo Procurado Pela Policia", PlayerName( playerid ) );
MensagemFormatada( playerid, 0xFFFFFFAA, "[ > ] Transporte o dinheiro para o Chefe da Mafia, seu mapa foi setado com um icone ''Cruz''", PlayerName( playerid ) );
format( s5Doze, sizeof( s5Doze ), "[ RECOMPENSA ] A cabeзa de %s foi colocado na lista de recompensas!", PlayerName( playerid ) );
SendClientMessageToAll( COLOR_VERMELHOCLARO, s5Doze );
SetPlayerAttachedObject(playerid, 3, 1550, 1, 0.1, -0.3, 0, 0, 40, 0, 1, 1, 1);
SetPlayerMapIcon( playerid, 90, 2481.1462, 1525.2205, 11.7813, 5, 0, MAPICON_GLOBAL_CHECKPOINT );
Roubadob[ playerid ] = 1;
new
L_Estrela
;
SetPlayerWantedLevel( playerid, GetPlayerWantedLevel( playerid ) + 2 );
Roubou[ playerid ] = gettime() + 1180;
DOF2_SaveFile();
format(PlayerInfo[GetPlayerName][gStr ], 60, "%s", DOF2_GetString(arquivo, "Assalto Salvar")
}
else
{
SendClientMessage( playerid, COLOR_ERRO, "[ x ] Vocк nгo й um Assaltante !" );
}
return 1;
}
PHP код:
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\gamemodes\GM-LVG2014.pwn(539) : warning 213: tag mismatch
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\pawno\include\DOF2.inc(1037) : warning 219: local variable "f" shadows a variable at a preceding level
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\gamemodes\GM-LVG2014.pwn(2666) : warning 213: tag mismatch
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\gamemodes\GM-LVG2014.pwn(2666) : warning 202: number of arguments does not match definition
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\gamemodes\GM-LVG2014.pwn(5817) : warning 204: symbol is assigned a value that is never used: "getAjud"
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\gamemodes\GM-LVG2014.pwn(5911) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\gamemodes\GM-LVG2014.pwn(5911) : warning 215: expression has no effect
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\gamemodes\GM-LVG2014.pwn(5911) : error 001: expected token: ";", but found "]"
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\gamemodes\GM-LVG2014.pwn(5911) : error 029: invalid expression, assumed zero
C:\Users\Maykon\Desktop\WhatsApp\Backups2015\Videos\Musicas\FSS\gamemodes\GM-LVG2014.pwn(5911) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.