Interior HELP +REP - 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: Interior HELP +REP (
/showthread.php?tid=338634)
Interior HELP +REP -
jordyvc - 30.04.2012
Hey,
I make a pickup for the army hq.
But if i want to enter it, i fall tough the sky?
Код:
if(pickupid == armyhqdoor)
{
SetPlayerPos(playerid, 246.40,110.84,1003.22);
}
Can someone explain why?
+REP
Jordyvc
Re: Interior HELP +REP -
newbienoob - 30.04.2012
SetPlayerInterior(playerid, interiorid);
Interior IDs
http://weedarr.wikidot.com/interior
Re: Interior HELP +REP -
jordyvc - 30.04.2012
Код:
C:\Documents and Settings\Jordy van camp\Bureaublad\Basic RP Script Scratch FIX\gamemodes\U1.pwn(169) : warning 213: tag mismatch
C:\Documents and Settings\Jordy van camp\Bureaublad\Basic RP Script Scratch FIX\gamemodes\U1.pwn(169) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jordy van camp\Bureaublad\Basic RP Script Scratch FIX\gamemodes\U1.pwn(169) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jordy van camp\Bureaublad\Basic RP Script Scratch FIX\gamemodes\U1.pwn(184) : warning 213: tag mismatch
C:\Documents and Settings\Jordy van camp\Bureaublad\Basic RP Script Scratch FIX\gamemodes\U1.pwn(184) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jordy van camp\Bureaublad\Basic RP Script Scratch FIX\gamemodes\U1.pwn(184) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Warnings.
//edit: and if i enter the pickup, there ar no building, no interior, nothing..
Re: Interior HELP +REP -
Ballu Miaa - 30.04.2012
Here you go
pawn Код:
if(pickupid == armyhqdoor)
{
SetPlayerPos(playerid, 246.40,110.84,1003.22);
SetPlayerInterior(playerid, 10); // SF Police Department's Interior.
}
Re: Interior HELP +REP -
jordyvc - 30.04.2012
Thanks!! +rep