Can a player enter a checkpoint with vehicle?
#1

I know this is a really really dumb question.. but my SA:MP hadnt been working for 1.5 years.
Is it possible to enter a checkpoint with a vehicle? (NOT race checkpoint,normal checkpoint)
Thanks 4 help
Reply
#2

I don't think so. Why don't you test it our yourself?

Edit: I see your SA-MP is not working. My bad.
Reply
#3

Quote:
Originally Posted by T0pAz
Посмотреть сообщение
I don't think so. Why don't you test it our yourself?

Edit: I see your SA-MP is not working. My bad.
Anyone that knows for sure?
Reply
#4

yes:
pawn Код:
public OnPlayerEnterCheckpoint(playerid){
    GameTextForPlayer(playerid,"CP",4000,4);
    return 1;
}

CMD:stunt0(playerid,params[]){
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid,X,Y,Z);
    CPPosX[0][0]=X;
    CPPosY[0][0]=Y;
    CPPosZ[0][0]=Z;
//  Checkpoint[0][0]=CreateDynamicCP(X,Y,Z,5,0,0,-1,200);
    SetPlayerCheckpoint(playerid,X,Y,Z,5);
    return 1;
}
works both on foot and in a vehicle
Reply
#5

Quote:
Originally Posted by Babul
Посмотреть сообщение
yes:
pawn Код:
public OnPlayerEnterCheckpoint(playerid){
    GameTextForPlayer(playerid,"CP",4000,4);
    return 1;
}

CMD:stunt0(playerid,params[]){
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid,X,Y,Z);
    CPPosX[0][0]=X;
    CPPosY[0][0]=Y;
    CPPosZ[0][0]=Z;
//  Checkpoint[0][0]=CreateDynamicCP(X,Y,Z,5,0,0,-1,200);
    SetPlayerCheckpoint(playerid,X,Y,Z,5);
    return 1;
}
works both on foot and in a vehicle
Alright thanks for help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)