Actor is not showing?
#1

pawn Code:
new strip;

public OnGameModeInit()
{
   strip = CreateActor(257, -2671.7690, 1410.3406, 907.5703, 271.7646);
   return 1;
}
Doesn't show up at the Jizzy's interior.
Reply
#2

But it does show anywhere else ? maybe its stuck in the interior somehow.
I remember adding an npc in jizzys once..on the stage as a stripper but somehow that didnt work out either.
Reply
#3

Quote:
Originally Posted by AIped
View Post
But it does show anywhere else ? maybe its stuck in the interior somehow.
I remember adding an npc in jizzys once..on the stage as a stripper but somehow that didnt work out either.
No I coudn't see it.
Reply
#4

Try to set it's virtual world to player's vw.
Reply
#5

[09:04:44] -2671.769042, 1410.340576, 907.570312, 0

Pos and VW of actor.
Player is vw 0 also.
Reply
#6

Try to put it somewhere outside, example.. outside lspd.. so we can see if it work or not.
Reply
#7

Hmm, I'll try that.

EDIT:Yes, the actor can been seen now. Doesn't work in Jizzy's I suppose, odd.
Reply
#8

Quote:
Originally Posted by JamesCaptGeneral
View Post
Hmm, I'll try that.

EDIT:Yes, the actor can been seen now. Doesn't work in Jizzy's I suppose, odd.
Yes and maybe... But i think it was because the Actor virtual world were different with Jizzy's interior
Reply
#9

Quote:
Originally Posted by JamesCaptGeneral
View Post
[09:04:44] -2671.769042, 1410.340576, 907.570312, 0

Pos and VW of actor.
Player is vw 0 also.
4char
Reply
#10

I think you should look here.. https://sampwiki.blast.hk/wiki/SetActorVirtualWorld
Reply
#11

It's working fine for me...
http://www.dodaj.rs/f/1j/Fk/2Qb0jbsZ/sa-mp-118.png

pawn Код:
CMD:createactor(playerid, params[])
{
    new modelid;
    if(sscanf(params, "d", modelid)) return SendClientMessage(playerid, -1, "Usage: /createactor [ModelID]");
    new Float:ang, Float:x, Float:y, Float:z;
    GetPlayerFacingAngle(playerid, ang);
    GetPlayerPos(playerid, x, y, z);
        new id = CreateActor(modelid, x, y, z, ang);
    new string[24];
    format(string, sizeof(string), "Actor ID: %d created.", id);
    SendClientMessage(playerid, -1, string);
    return 1;
}
Reply
#12

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
It's working fine for me...
http://www.dodaj.rs/f/1j/Fk/2Qb0jbsZ/sa-mp-118.png

pawn Код:
CMD:createactor(playerid, params[])
{
    new modelid;
    if(sscanf(params, "d", modelid)) return SendClientMessage(playerid, -1, "Usage: /createactor [ModelID]");
    new Float:ang, Float:x, Float:y, Float:z;
    GetPlayerFacingAngle(playerid, ang);
    GetPlayerPos(playerid, x, y, z);
        new id = CreateActor(modelid, x, y, z, ang);
    new string[24];
    format(string, sizeof(string), "Actor ID: %d created.", id);
    SendClientMessage(playerid, -1, string);
    return 1;
}
If you read. I said they do work, but I want them to be in Jizzy's they work in the SA world but not Jizzy's.

EDIT: Didn't see the picture.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)