Detaljan opis problema:
Pod public OnPlayerDeath dodao sam slijedeci kod!
if(killerid != INVALID_PLAYER_ID)
{
if(GetPlayerState(killerid) == 2)
{
SendClientMessage(killerid, ZELENA, "=====================================================");
SendClientMessage(killerid, CRVENA, "DRIVE BY UBISTVO!");
SendClientMessage(killerid, CRVENA, "TO JE ZABRANJENO | NEMOJ TO RADITI");
SendClientMessage(killerid, ZELENA, "=====================================================");
GetPlayerHealth(playa, shealth);
SetPlayerHealth(playa, shealth-5);
GetPlayerPos(playa, slx, sly, slz);
SetPlayerPos(playa, slx, sly, slz+5);
PlayerPlaySound(playa, 1130, slx, sly, slz+5);
return 1;
}
}
i izbacuje mi slijedece errore ! kao nesto "playa"
C:\Users\Edin\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(6950) : warning 217: loose indentation
C:\Users\Edin\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(6953) : error 017: undefined symbol "playa"
C:\Users\Edin\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(6954) : error 017: undefined symbol "playa"
C:\Users\Edin\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(6955) : error 017: undefined symbol "playa"
C:\Users\Edin\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(6956) : error 017: undefined symbol "playa"
C:\Users\Edin\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(6957) : error 017: undefined symbol "playa"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
