My code doesn't work please help.
#7

Код:
enum pStats{
	Killstreak
}
new Player[MAX_PLAYERS][pStats];
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
 	Player[playerid][Killstreak] = 0;
	return 1;
}
Call the name of the array when you want to change something in the enum, not the enum's name itself. Player[playerid][thingtobeset]
Reply


Messages In This Thread
My code doesn't work please help. - by Bubbly - 24.02.2014, 16:57
Respuesta: My code doesn't work please help. - by CuervO - 24.02.2014, 17:03
Re: Respuesta: My code doesn't work please help. - by Bubbly - 24.02.2014, 17:05
Re: My code doesn't work please help. - by Konstantinos - 24.02.2014, 17:08
Re: My code doesn't work please help. - by Bubbly - 24.02.2014, 17:12
Re: My code doesn't work please help. - by Konstantinos - 24.02.2014, 17:17
Re: My code doesn't work please help. - by Garr - 24.02.2014, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)