Permission Issues with Win 7 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Permission Issues with Win 7 (
/showthread.php?tid=96507)
Permission Issues with Win 7 -
Joe Staff - 08.09.2009
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?
Re: Permission Issues with Win 7 -
gabriel1223 - 08.09.2009
dont know but, i am using windows seven 7600 build and its perfect here...
Re: Permission Issues with Win 7 -
International - 08.09.2009
Im using build 7600 fine here dunno what everyones issue is,
I dont like the OS though
Re: Permission Issues with Win 7 -
Joe Staff - 08.09.2009
This also doesn't work on my Laptop which doesn't come up with permission issues and it's on Win XP.
Re: Permission Issues with Win 7 -
KevKo95 - 08.09.2009
It works fine for me on Windows 7 and XP. It's you, Joe.