Actors not spawning?
#10

Quote:
Originally Posted by Salint
View Post
PHP Code:
public OnPlayerSpawn(playerid
{
    new 
vw GetPlayerVirtualWorld(playerid);
    
SendClientMessage(playerid, -1vw);
    return 
1;

This should send you what's your virtual world when you spawn.
Not tested.
I tweaked this with:

Code:
public OnPlayerSpawn(playerid)
{
	new str[128];
    new vw = GetPlayerVirtualWorld(playerid);
    format(str, sizeof(str),"Virtual world is %d", vw);
    SendClientMessage(playerid, -1, str);
    return 1;
}
and it returned:

"Virtual world is 0"

I'm getting really confused as to why actors are not spawning..
Reply


Messages In This Thread
Actors not spawning? - by B-rian - 10.09.2018, 17:37
Re: Actors not spawning? - by Salint - 10.09.2018, 18:14
Re: Actors not spawning? - by B-rian - 10.09.2018, 18:32
Re: Actors not spawning? - by solstice_ - 10.09.2018, 19:24
Re: Actors not spawning? - by Salint - 10.09.2018, 19:44
Re: Actors not spawning? - by B-rian - 10.09.2018, 20:03
Re: Actors not spawning? - by Undef1ned - 10.09.2018, 20:16
Re: Actors not spawning? - by B-rian - 10.09.2018, 20:19
Re: Actors not spawning? - by Salint - 10.09.2018, 20:25
Re: Actors not spawning? - by B-rian - 10.09.2018, 20:35

Forum Jump:


Users browsing this thread: 2 Guest(s)