Whats this called ?
#1

hmm i was looking for something , you know like a checkpoint but i cant destroy a certain checkpoint for all the players .. how to do that ?
Reply
#2

No such function, here's a code I made however:



pawn Код:
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
DisablePlayerCheckpoint(i);
}
}
Reply
#3

pawn Код:
for(new x=0; x < MAX_PLAYERS; x++)
{
    if(!IsPlayerConnected(x)) continue;
    DisablePlayerCheckpoint(x);
}
This?
Reply
#4

Quote:
Originally Posted by Austin
Посмотреть сообщение
pawn Код:
for(new x=0; x < MAX_PLAYERS; x++)
{
    if(!IsPlayerConnected(x)) continue;
    DisablePlayerCheckpoint(x);
}
This?
Did you make that?
Reply
#5

Quote:
Originally Posted by Las Venturas CNR
Посмотреть сообщение
Did you make that?
Yes, it's tabbed properly, and you should always make sure new coders are provided code that is indented correctly or you might teach them bad habits.
Reply
#6

Quote:
Originally Posted by Austin
Посмотреть сообщение
Yes, it's tabbed properly, and you should always make sure new coders are provided code that is indented correctly or you might teach them bad habits.
Hmm... I was taught to make codes like what I showed. I should change mine...



Off topic:

This forum requires that you wait 120 seconds between posts. Please try again in 74 seconds.
This forum requires that you wait 120 seconds between posts. Please try again in 45 seconds.
This forum requires that you wait 120 seconds between posts. Please try again in 12 seconds.
This forum requires that you wait 120 seconds between posts. Please try again in 5 seconds.
Reply
#7

Quote:
Originally Posted by Las Venturas CNR
Посмотреть сообщение
Off topic:

This forum requires that you wait 120 seconds between posts. Please try again in 74 seconds.
This forum requires that you wait 120 seconds between posts. Please try again in 45 seconds.
This forum requires that you wait 120 seconds between posts. Please try again in 12 seconds.
This forum requires that you wait 120 seconds between posts. Please try again in 5 seconds.
Too right, that is some bullshit right there... lol, I had to wait 56 seconds to post this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)