03.03.2013, 16:13
hey guys
when someone rob a bank it mix with spanish and english
see
in the script:
SendMessageTocopteamE Function and S
what is happening in game
GoldZoro[4] Has succesfully Robbed $21547 From A Bank[4] Has succesfully Robbed $21547 From A Bank[
when someone rob a bank it mix with spanish and english
see
in the script:
pawn Код:
new str[128];
new str2[128];
GetPlayerName(playerid,str,MAX_PLAYER_NAME+1);
format(str,sizeof(str),"[CRIME COMMITED]: %s[%d] Has Robbed From A Bank $%d. LOCATION: Los Santos, Commerce",str,playerid,money);
SendMessageTocopteamE(str);
GetPlayerName(playerid,str2,MAX_PLAYER_NAME+1);
format(str2,sizeof(str2),"[CRIMEN COMETIDO]: %s[%d] Acaba de Robar Desde Un Banco $%d. UBICACIУN: Los Santos, Commerce",str2,playerid, money);
SendMessageTocopteamS(str2);
pawn Код:
SendMessageTocopteamE(str[])
{
for(new i=0;i<MAX_PLAYERS;i++)if(IsPlayerConnected(i) && !IsPlayerNPC(i))
{
if(SInfo[i][Language]==1)
{
if(copteam[i]==1 || ciateam[i]==1 || armyteam[i]==1) SendClientMessage(i,COLOR_YELLOW,str);
}
}
}
SendMessageTocopteamS(str[])
{
for(new i=0;i<MAX_PLAYERS;i++)if(IsPlayerConnected(i) && !IsPlayerNPC(i))
{
if(SInfo[i][Language]==2)
{
if(copteam[i]==1 || ciateam[i]==1 || armyteam[i]==1) SendClientMessage(i,COLOR_YELLOW,str);
}
}
}
GoldZoro[4] Has succesfully Robbed $21547 From A Bank[4] Has succesfully Robbed $21547 From A Bank[