Permission Issues with Win 7
#1

This may not effect Windows 7 only, but it's the OS I'm using. When I create an npc using the following code:
pawn Код:
#include <a_npc>
OnNPCSpawn()
{
  SendChat("I spawned");
}
Forcing the NPC to spawn and when it connects, it will not send the chat. Was there something I missed?

My test script.
pawn Код:
#include <a_samp>
OnPlayerCommandText(playerid,cmdtext[])
{
  if(!strcmp(cmdtext[1],"connectnpc",true,10))
  {
    ConnectNPC(cmdtext[12],"npcmode");//NPCMode was the script above
    return 1;
  }
  if(!strcmp(cmdtext[1],"spawn",true,5))
  {
    SpawnPlayer(strval(cmdtext[7]));
    return 1;
  }
}
I get a 'asking permission' window when I run the samp-server.exe, then when I try to connect the NPC I get another to asking to run the npc exe, Could this be causing an interference with the npcmode?
Reply
#2

dont know but, i am using windows seven 7600 build and its perfect here...
Reply
#3

Im using build 7600 fine here dunno what everyones issue is,

I dont like the OS though
Reply
#4

This also doesn't work on my Laptop which doesn't come up with permission issues and it's on Win XP.
Reply
#5

It works fine for me on Windows 7 and XP. It's you, Joe.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)