16.03.2014, 13:02
im getting those errors.
so here is error line 73
and here is line 155
if you gonna help me pls explain me where was the problem i want to teach about npc
Thanks in advanced
pawn Код:
C:\Users\arjan\Desktop\Cops n robbers\filterscripts\NpcRobbery.pwn(73) : error 017: undefined symbol "GetPlayerTargetPlayer"
C:\Users\arjan\Desktop\n robbers\filterscripts\NpcRobbery.pwn(155) : error 017: undefined symbol "each"
C:\Users\arjan\Desktop\Cops n robbers\filterscripts\NpcRobbery.pwn(155) : warning 202: number of arguments does not match definition
C:\Users\arjan\Desktop\Cops n robbers\filterscripts\NpcRobbery.pwn(155) : error 001: expected token: ",", but found "new"
C:\Users\arjan\Desktop\Cops n robbers\filterscripts\NpcRobbery.pwn(155) : error 001: expected token: ";", but found ")"
C:\Users\arjan\Desktop\Cops n robbers\filterscripts\NpcRobbery.pwn(155) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
pawn Код:
new targetplayer = GetPlayerTargetPlayer(playerid);
and here is line 155
pawn Код:
stock PlayAlarm(npcid)
{
new Float: x, Float: y, Float: z;
GetPlayerPos(npcid, x, y, z);
each(Players->new i)
{
Thanks in advanced