Error's unfixable..
#4

here ya go
if get more errors..reply
pawn Код:
if(strcmp("/selfdestruction", cmdtext, true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(GetPlayerSkin(playerid) == 255)
{
new string[128];
new sendername[MAX_PLAYER_NAME];
new CountDownTimer;

GetPlayerName(playerid, string, sizeof(string));
format(string, sizeof(string),"%s has activated Self-Destruction of the carrier, Use the door at the carrier to escape with the boats!", sendername);
SendClientMessageToAll(COLOR_RED1, string);
CountDownTimer = SetTimer("CountDown", 30000, false);
}
}
else
{
SendClientMessage(playerid, COLOR_WRONG, "Player not Connected!");
}
return 1;
}

if(strcmp("/makecaptain", cmdtext, true) == 0)
{
new targetid;
if(IsPlayerConnected(targetid))
{
if(IsPlayerAdmin(playerid))
{
if(GetPlayerSkin(playerid) == 255)
{
new string[128];
new sendername2[MAX_PLAYER_NAME];
GetPlayerName(playerid, string, sizeof(string));
format(string, sizeof(string),"%s has made you a Captain, Don't abuse this position!", sendername2);
SetPlayerTeam(targetid, 0);
}
}
else
{
SendClientMessage(playerid, COLOR_WRONG, "You are not an admin!");
}
}
else
{
SendClientMessage(playerid, COLOR_WRONG, "Player Not Connected!");
}
return 1;
}
Reply


Messages In This Thread
Error's unfixable.. - by Brunok - 18.07.2011, 17:01
Re: Error's unfixable.. - by SchurmanCQC - 18.07.2011, 17:05
Re: Error's unfixable.. - by BMUK - 18.07.2011, 17:07
Re: Error's unfixable.. - by eDz0r - 18.07.2011, 17:08
Re: Error's unfixable.. - by Brunok - 18.07.2011, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)