NPC should call function
#8

Yes, but do you know...
pawn Код:
if(!IsPlayerNPC(playerid)) return 0;
Have you forgotted, is your code, dude )

But, it's better you do this at OnPlayerConnect, just like this:
pawn Код:
public OnPlayerConnect( playerid )
{
    cmd_starttour( playerid );
    return 1;
}
Reply


Messages In This Thread
NPC should call function - by Zcelo12 - 19.10.2011, 12:52
Re: NPC should call function - by aRoach - 19.10.2011, 12:57
AW: NPC should call function - by Zcelo12 - 19.10.2011, 12:59
Re: NPC should call function - by aRoach - 19.10.2011, 13:01
AW: NPC should call function - by Zcelo12 - 19.10.2011, 13:02
Re: NPC should call function - by aRoach - 19.10.2011, 13:03
AW: NPC should call function - by Zcelo12 - 19.10.2011, 13:04
Re: NPC should call function - by aRoach - 19.10.2011, 13:06
AW: NPC should call function - by Zcelo12 - 19.10.2011, 13:08

Forum Jump:


Users browsing this thread: 2 Guest(s)