19.05.2011, 19:02
Deu 2 erros:
C:\DOCUME~1\jonks\Desktop\arkivo.pwn(2821) : error 029: invalid expression, assumed zero
C:\DOCUME~1\jonks\Desktop\arkivo.pwn(2821) : error 029: invalid expression, assumed zero
E o cуdigo que eu puz:
como arrumar?
C:\DOCUME~1\jonks\Desktop\arkivo.pwn(2821) : error 029: invalid expression, assumed zero
C:\DOCUME~1\jonks\Desktop\arkivo.pwn(2821) : error 029: invalid expression, assumed zero
E o cуdigo que eu puz:
pawn Код:
if(GetPlayerWeapon(playerid) != /*MUDE*/ && GetPlayerWeapon(playerid) != /*MUDE*/)
{
if(GetPVarInt(playerid, "Headshotted") == 1)
{
SetPVarInt(playerid, "Headshotted", 0);
new string[256];
new pname[MAX_PLAYER_NAME];
GetPlayerName(killerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), " O(A) jogador(a) %s acertou sua cabeзa! Vocк morreu na hora!", pname);
SendClientMessage(playerid,COLOR_BRIGHTRED, string);
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), " Vocк acertou a cabeзa do(a) jogador(a) %s! Matou ele(a) na hora!", pname);
SendClientMessage(killerid,COLOR_HEADGREEN, string);
return 1;
}
return 1;
}