20.06.2010, 00:07
O Erro esta na String Obs:
63 Caracteres + 1 Null + 22 Nome
= 86
(Fiz as Pressas o Calculo, rs.)
Tenta:
Caso nгo dк:
63 Caracteres + 1 Null + 22 Nome
= 86
(Fiz as Pressas o Calculo, rs.)
Tenta:
pawn Код:
if((newkeys == KEY_WALK))
{
if((GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) || (GetPlayerState(playerid) == PLAYER_STATE_DRIVER))
{
new string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, 256, "AdmAviso: %s(%d) apertou ALT (Pode ser xiter), use /ver nele.", sendername, playerid);
ABroadCast(COLOR_YELLOW,string,1);
}
}
pawn Код:
if((newkeys == KEY_WALK))
{
if((GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) || (GetPlayerState(playerid) == PLAYER_STATE_DRIVER))
{
}else{
new string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, 256, "AdmAviso: %s(%d) apertou ALT (Pode ser xiter), use /ver nele.", sendername, playerid);
ABroadCast(COLOR_YELLOW,string,1);
}
}