Home   Help Search Login Register  

Author Topic: Scan script disable by host?  (Read 609 times)

0 Members and 1 Guest are viewing this topic.

FFAK

  • Guest
Scan script disable by host?
« on: 08 Jan 2003, 10:17:25 »
I've got a problem :)
here is my scan script
Code: [Select]

#scan
~0.1
if ((player == ap1) and (ap1 hasweapon "sebprc25")) then {showmap true;} else {showmap false;}
if ((player == ap2) and (ap2 hasweapon "sebprc25")) then {showmap true;} else {showmap false;}
~10
goto "scan"
I tested it on multiplayer and its work fine... for player ap2 but not for player ap1 when ap1 is the host
I don't know why it's not working for the host....any suggestion?
(I didn't try on a dedicated server)

Tomcat_CDM

  • Guest
Re:Scan script disable by host?
« Reply #1 on: 11 Jan 2003, 19:29:50 »
? (!local server): exit

This will prevent to run the sqs on local machines, it will ran only on servers. Maybe this will help you or maybe you need to change it to provet runing on server instead of local.