Interior HELP +REP
#1

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
Reply
#2

SetPlayerInterior(playerid, interiorid);

Interior IDs http://weedarr.wikidot.com/interior
Reply
#3

Код:
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..
Reply
#4

Here you go
pawn Код:
if(pickupid == armyhqdoor)
    {
         SetPlayerPos(playerid, 246.40,110.84,1003.22);
             SetPlayerInterior(playerid, 10); // SF Police Department's Interior.
    }
Reply
#5

Thanks!! +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)