14.09.2015, 23:40
this code can change class for next spawn,can u change this code to my code i hope u understand
Quote:
case 2: { if(GetPlayerScore(playerid)>=1500) { if(cc[playerid]==1) { cc[playerid]=0; SpawnPlayer(playerid); ZClass[playerid]=MUTANT; if(Team[playerid]==ZOMBIE) { Zombiecount--; } else if(Team[playerid]==HUMAN) { Humancount--; } return true; } ZClass[playerid]=MUTANT; SendClientMessage(playerid,-1,""COL_WHITE"» "COL_YELLOW"Mutant Zombie has a special ability ( PRESS WALK_KEY TO INFECT HUMANS-BLIND VISION )."); SendClientMessage(playerid,-1,""COL_WHITE"» "COL_YELLOW"You have selected "COL_WHITE"Mutnat Zombie Class "COL_YELLOW"for next spawn."); } else SendClientMessage(playerid,-1,""COL_WHITE"» "COL_RED"You Don't Have Enough XP "COL_WHITE"( 1500 )."); |