SA-MP Forums Archive
Checkpoints in interiors - 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)
+--- Thread: Checkpoints in interiors (/showthread.php?tid=369922)



Checkpoints in interiors - thefatshizms - 18.08.2012

Hello, i have made a checkpoint for a robbery but its not showing im asuming its because its in a interior...so how do i enable it in a interior?
pawn Код:
CreateDynamicCP(379.0827,-65.4114,1001.5078 ,3, -1, -1, -1, 100.0);



Re: Checkpoints in interiors - kbalor - 18.08.2012

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
Hello, i have made a checkpoint for a robbery but its not showing im asuming its because its in a interior...so how do i enable it in a interior?
pawn Код:
CreateDynamicCP(379.0827,-65.4114,1001.5078 ,3, -1, -1, -1, 100.0);
go ingame do /interior (where the checkpoint is)

Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Let say

CreateDynamicCP(379.0827,-65.4114,1001.5078 ,3, 4 (Interior 4), -1, -1, 100.0);


Re: Checkpoints in interiors - thefatshizms - 18.08.2012

ok thanks for telling me that :P but its still not showing :/


Re: Checkpoints in interiors - kbalor - 18.08.2012

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
ok thanks for telling me that :P but its still not showing :/
Don't forget to update your streamer If not maybe someone could help you..


Re: Checkpoints in interiors - thefatshizms - 18.08.2012

updated and still not showing


Re: Checkpoints in interiors - kbalor - 18.08.2012

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
updated and still not showing
Is robbery a command?

If yes...

Try to add this in your robbery command.

Код:
SetPlayerVirtualWorld(playerid, theworldid)
SetPlayerInterior(playerid, theinteriorid)
CreateDynamicCP(379.0827,-65.4114,1001.5078 ,3, interiorid, -1, -1, 100.0); //sample..
so on and so on...



Re: Checkpoints in interiors - thefatshizms - 18.08.2012

ive already got the robbery set up its robbing with the button 'c' and if i would go to the pos where the checkpoint i willg et the money its just...the checkpoint doesnt show


Re: Checkpoints in interiors - ReVo_ - 18.08.2012

you see red icon in the radar and in the game no?


Re: Checkpoints in interiors - thefatshizms - 18.08.2012

nope no red icon


Re: Checkpoints in interiors - thefatshizms - 21.08.2012

bump