06.11.2013, 15:59
Hey
I get error :
what's the problem ? npcid is unknown how to know it ?
Thanks all for reading
pawn Код:
YCMD:n(playerid, params[], help) // a test command , after I will put it in timer for my zombie bot
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z); // we get the player who put /npc position
FCNPC_Create("ZOMBIE"); // we create the NPC
FCNPC_SetPosition(npcid,x+2.0,y,z); // teleport the NPC to player's pos
return 1;
}
Код:
C:\DOCUME~1\ADMINI~1\Bureau\FCINFE~1\GAMEMO~1\FCI.pwn(432) : error 017: undefined symbol "npcid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Thanks all for reading