12.05.2010, 12:06
Ok so my topic got deleted. Good for me as i can review what has been done so far.
Now the current problem is that the text daw is not showing up at all with your code Killa_.
I am not using a timer anymore Killa_
This is what i have so far:
Now the current problem is that the text daw is not showing up at all with your code Killa_.
I am not using a timer anymore Killa_
This is what i have so far:
Код:
public OnPlayerDeath(playerid, killerid, reason) { new String[128]; SendDeathMessage(killerid, playerid, reason); DisablePlayerCheckpoint(playerid); gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE; SetPlayerColor(playerid,COLOR_GREY); if(killerid != INVALID_PLAYER_ID) { if(playerid != INVALID_PLAYER_ID && gTeam[killerid] == gTeam[playerid]) { format(String,sizeof(String),"[KICKED] Team Killer From Team %d",gTeam[killerid]); SendClientMessageToAll(red,String); return Kick(killerid); } switch(gTeam[killerid]) { case TEAM_HYDRA: {SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); TicketsDeff--;} case TEAM_HYDRA2: {SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); TicketsAtt--;} } new String5[128]; TextDrawHideForAll(TicketsDefenders); TextDrawSetString(TicketsDefenders, String5); format(String5,sizeof(String5)," %d",TicketsDeff); TextDrawShowForAll(TicketsDefenders); new String6[128]; TextDrawHideForAll(TicketsAttackers); TextDrawSetString(TicketsAttackers, String6); format(String6,sizeof(String6)," %d",TicketsAtt); TextDrawShowForAll(TicketsAttackers); } DisablePlayerCheckpoint(playerid); return 1; }