Nezz sta trebam ewo vam odmah i red taj....
C:\Users\RaKuN\Desktop\LARP 1\gamemodes\larp.pwn(10386) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
SetPlayerMapIcon(playerid, 0,1173.5957,-1323.5686,15.1953, 22, COLOR_YELLOW); //HitnaPomoc
Pod sta si ga stavio? Uglavnom u Callbacku u kojem si definirao funkciju ne postoji playerid parametar.
Demi reci sta bi trebo da napravim ili dodam ??
Pa reci di si ga stavio i sto pokusavas napraviti.
stavio sam ga blizu --> i pokusavam oznaciti na karti bolnicu i neka druga mjesta ??
if(!realtime)
{
SetWorldTime(wtime);
}
SetPDistance(10);
EnableTirePopping(1);
EnableZoneNames(1);
AllowInteriorWeapons(1);
AllowAdminTeleport(0);
//UsePlayerPedAnims(); //unique walking
//ShowPlayerMarkers(false);
DisableInteriorEnterExits();
EnableStuntBonusForAll(0);
//--------------------------------------------------IKONE NA MAPI--------------------------------------------------------------------------
Samo premjesti taj redak ispod OnPlayerConnect.
OnPlayerConnect. nemam ja to u skripti???
Si trazio mozda s tockom?
ewo :D tude da stavim ispod ovoga ??
public OnPlayerConnect(playerid)
{
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
if(Security != 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
Kick(playerid);
return 1;
}
Tako je.
Hvala puno