Help Please
#1

Hello!
I made a dynaminCP and i put it on "Onplayerspawn"
And if on player enter the CP it will Disable.
I want to make 1 more CP and it should not be disable when a player enter.
How to do that?
Reply
#2

plz anyone help me....
Reply
#3

can u paste it on pastebin?
Reply
#4

look this script
pawn Код:
public OnPlayerSpawn(playerid)
{
    CreateDynamicCP(2315.3999,-4.5602,26.7422, 1.5, -1, -1, -1, 100.0);
    return 1;  
}
public OnPlayerEnterCheckpoint(playerid)
{
  DisablePlayerCheckpoint(playerid)
    return 1;
}
i want to make 1 more cp in which it should not be disable.if i make 1 more cp and i put it on "Onplayerspawn"
then on player enter it, then it will also disable. i dont want to disable the second cp
Reply
#5

there are 719 members are online but nobody is helping me
Reply
#6

pawn Код:
new checkpoint;
public OnPlayerSpawn( playerid )
{
    checkpoint = CreateDynamicCP( 2315.3999,-4.5602,26.7422, 1.5, -1, -1, -1, 100.0 );
    return 1;  
}
public OnPlayerEnterDynamicCP( playerid, checkpointid )
{
    if( checkpointid == checkpoint ) DestroyDynamicCP( checkpoint );
    return 1;
}
EDIT: I am pretty curious. Did it work ?
Reply
#7

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
there are 719 members are online but nobody is helping me
First off, probably 690 of them is idle..
Then there's 10 who doesn't know anything about scripting.
Then there's 10 who don't know what the heck You're talking about.
Then there's 8 who can help You but just won't since they barely can make out what You're asking..
Then there's 1 who helped you.

Have patience bro'

oh, and don't bump every 30th minute.
Reply
#8

No..
pawn Код:
DisablePlayerCheckpoint( playerid )
but

pawn Код:
DestroyDynamicCP(checkpointid);
And you lost ';'
Reply
#9

ok ty all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)