NPC Script
#7

Quote:
Originally Posted by Alexis1999
Посмотреть сообщение
Thanks it worked but I've got 1 problem

I put this on Game ModeInit
ConnectNPC("Taxidriver","Taxi");

But when I change the npc and enter the name of my npc

SendClientMessage(Taxidriver, 123456, "/start");
SendClientMessage(Taxidriver, 123456, "/stop");

It says in compiler
C:\Users\User\Desktop\crptestserver\gamemodes\Gene rationRoleplay.pwn(94) : error 017: undefined symbol "Taxidriver"
C:\Users\User\Desktop\crptestserver\gamemodes\Gene rationRoleplay.pwn(107) : error 017: undefined symbol "Taxidriver"
You need to enter the NPC ID, not the name.
Reply


Messages In This Thread
NPC Script - by Alexis1999 - 09.12.2011, 19:32
Re: NPC Script - by MadeMan - 09.12.2011, 19:44
Re: NPC Script - by Alexis1999 - 09.12.2011, 19:46
Re: NPC Script - by MadeMan - 09.12.2011, 20:00
Re: NPC Script - by Alexis1999 - 10.12.2011, 08:29
Re: NPC Script - by Kostas' - 10.12.2011, 08:39
Re: NPC Script - by sabretur - 10.12.2011, 09:16

Forum Jump:


Users browsing this thread: 1 Guest(s)