Little help please.
#1

Iґve added new taking[playerid]; on the top, but it says playerid is not definied..

I need to set it to 0 and 1 on different places in the script..
Reply
#2

new taking[MAX_PLAYERS];

I do it like that
Reply
#3

Can I use that under OnPlayerDeath and does it only take the selected playerid then?
Reply
#4

Is it a score your making?
Reply
#5

No. When a player enters a checkpoint, I need to set it to 1, so when the player dies I can set:

if(taking == 1)
{
CODE
}
Reply
#6

On top of script: new taking[MAX_PLAYERS];


public OnPlayerDeath(playerid)
{
taking[playerid] = 1;
return 1;
}
Reply
#7

Quote:
Originally Posted by Desert
On top of script: new taking[MAX_PLAYERS];


public OnPlayerDeath(playerid)
{
taking[playerid] = 1;
return 1;
}
I like

Код:
enum PInfo,
 all your shit here,
and here,
and here,
its easier if for me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)