Checkpoints.
#1

I have two questions, related to each other lol..
First, how to remove these yellow arrows that lead into interiors?

Second, I need to know the basics of creating that redcheckpoint please.
Reply
#2

pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    return 1;
}
for the Checkpoints:
https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
Reply
#3

Okay so it's playerid, x,y,z,size! What about interior?

EDIT
pawn Код:
new AmmuCheck1;

OnPlayerSpawn(playerid)
{
    AmmuCheck1 = SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
    return 1;
}
Код:
D:\SAMP\Server\SACNC [0.3e R2]\gamemodes\SACNC.pwn(1054) : warning 204: symbol is assigned a value that is never used: "AmmuCheck1"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#4

as far as I know checkpoints appear in all interiors/VW's
Reply
#5

How to add checkpoint into interior? Where should I add the interior?
Reply
#6

Into an interior? You need to do a check if a player is in said interior or virtual world ( if(GetPlayerInterior(playerid) == interior)) and then set the player's checkpoint.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)