Quote:
Originally Posted by mastermax7777
pawn Code:
ONplayerSpawn(playerid){ if(IsPlayerNPC(playerid)){ //do stuff here SetPlayerPos //npcid = playerid } }
in ur example u should put the npc's ID. u can get it with what i showed u above
|
No clear yet ?
I know this way, but i need to get NPC's id, i want to get him using command.