why cant people shoot eachother in a diff virtual world than 0
#1

i ask because if i send 2 people there they cant c eachother move or shoot i made a test FS.
Код:
#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>
public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Blank Filterscript by your name here");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}
COMMAND:vw0(playerid,params[])
{
	SetPlayerVirtualWorld(playerid,0);
	return 1;
}
COMMAND:vw1(playerid,params[])
{
	SetPlayerVirtualWorld(playerid,1);
	return 1;
}
now if im not wrong players in vw1 should be able to shoot each other?
because if i use this code they cant even c each other moving, let alone firing.
any help much appreciated.
Reply
#2

People in different virtual worlds can't see each other, so i think there's no way to shoot each other.
Reply
#3

LOL, of course NO, they are in different virtual world
its like you'll be shooting somebody from the past
Reply
#4

Plus, it takes about 0.7 seconds from SetPlayerVirtualWorld being executed for anything to actually happen.
Reply
#5

no i mean if two people are in virtual world 1 can they shoot each other?
Reply
#6

Quote:
Originally Posted by iggy1
no i mean if two people are in virtual world 1 can they shoot each other?
Yes, of course :P they are in the same virtual world
Reply
#7

Quote:
Originally Posted by iggy1
no i mean if two people are in virtual world 1 can they shoot each other?
If they are in the same virtual world, yes.
Reply
#8

well i have tested this script and if 2 people are in vw1 they c eachother but dont c eachother move.
anyone have any idea why?

Quote:

now if im not wrong players in vw1 should be able to shoot each other?

EDIT: sorry on the title i meant diff virtual world than virtual world 0
someone plz tell me what im doing wrong i havnt a clue could it be because im using zcmd?

ps, i dont want help for the script i posted (in a way)i have made an FS
But this is the problem im having with the real FS, i hope u get me lol
Reply
#9

so can anyone tell me why, if i use this script and BOTH people are in vw1 they can see eachother but cant see any movement by the other player and cant kill eachother? from what previous posts say it should work fine but it realy doesnt i had someone else test it and they got the same problem.

i spent about 2weeks on an fs only testing with one player then i had this problem when i test with more than one player.

sorry about the bump but i cant stop thinking about it went the pub last night and all i could think about was this damn problem couldnt w8 to get home to fix (that didnt go well).

thanks in advance
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)