if (JoinText == Text:-1) {
JoinText = TextDrawCreate(622.0, 389.0, name);
TextDrawLetterSize(JoinText, 0.35, 1.0);
TextDrawSetShadow(JoinText, 1);
TextDrawAlignment(JoinText, 3);
}
(673) : warning 213: tag mismatch (674) : warning 213: tag mismatch (675) : warning 213: tag mismatch
TextDrawShowForPlayer(playerid,SpeedoText[playerid]);
SpeedoText[playerid] = TextDrawCreate(530.0, 340.5, "");
PlayerTextDrawLetterSize(playerid, SpeedoText[playerid], 0.5, 1.6);
PlayerTextDrawSetProportional(playerid, SpeedoText[playerid], 1);
PlayerTextDrawSetOutline(playerid, SpeedoText[playerid], 1);
PlayerTextDrawLetterSize(playerid, SpeedoText[playerid], 0.5, 1.6);
PlayerTextDrawSetProportional(playerid, SpeedoText[playerid], 1);
PlayerTextDrawSetOutline(playerid, SpeedoText[playerid], 1);
TextDrawShowForPlayer(playerid,SpeedoText[playerid]);
SpeedoText[playerid] = TextDrawCreate(530.0, 340.5, "");
PlayerTextDrawLetterSize(playerid, SpeedoText[playerid], 0.5, 1.6);
PlayerTextDrawSetProportional(playerid, SpeedoText[playerid], 1);
PlayerTextDrawSetOutline(playerid, SpeedoText[playerid], 1);
TextDrawShowForPlayer(playerid,SpeedoText[playerid]);
Text:SpeedoText[playerid] = TextDrawCreate(530.0, 340.5, "");
PlayerTextDrawLetterSize(playerid, SpeedoText[playerid], 0.5, 1.6);
PlayerTextDrawSetProportional(playerid, SpeedoText[playerid], 1);
PlayerTextDrawSetOutline(playerid, SpeedoText[playerid], 1);
replace this
PHP код:
PHP код:
|
SendConnectionMessage(playerid, reason)
{
new name[336];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
for (new c = 0; c < sizeof(cLines)-1; c++)
{
cLines[c] = cLines[c+1];
}
if (reason == 1) format(cLines[sizeof(cLines)-1], 64, "~w~%s~n~ has ~g~~h~<~w~Joined~g~~h~>", name);
else if (reason == 2) format(cLines[sizeof(cLines)-1], 64, "~w~%s~n~ has ~r~~h~<~w~Timed Out/Crashed~r~~h~>", name);
else if (reason == 3) format(cLines[sizeof(cLines)-1], 64, "~w~%s~n~ has ~r~~h~<~w~Left~r~~h~>", name);
else format(cLines[sizeof(cLines)-1], 64,"~w~%s~n~ has been~r~~h~<~w~Banned/Kicked~r~~h~>", name);
format(name, sizeof(name), "%s%s%s%s%s", cLines[0], cLines[1], cLines[2], cLines[3], cLines[4]);
if (JoinText == Text:-1) {
JoinText = TextDrawCreate(622.0, 389.0, name);
TextDrawLetterSize(JoinText, 0.35, 1.0);
TextDrawSetShadow(JoinText, 1);
TextDrawAlignment(JoinText, 3);
}
else TextDrawSetString(JoinText, name);
}
SendConnectionMessage(playerid, reason)
{
new name[336];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
for (new c = 0; c < sizeof(cLines)-1; c++)
{
cLines[c] = cLines[c+1];
}
if (reason == 1) format(cLines[sizeof(cLines)-1], 64, "~w~%s has ~g~~h~<~w~Joined~g~~h~>", name);
else if (reason == 2) format(cLines[sizeof(cLines)-1], 64, "~w~%s has ~r~~h~<~w~Timed Out/Crashed~r~~h~>", name);
else if (reason == 3) format(cLines[sizeof(cLines)-1], 64, "~w~%s has ~r~~h~<~w~Left~r~~h~>", name);
else format(cLines[sizeof(cLines)-1], 64,"~w~%s has been~r~~h~<~w~Banned/Kicked~r~~h~>", name);
format(name, sizeof(name), "%s%s%s%s%s", cLines[0], cLines[1], cLines[2], cLines[3], cLines[4]);
if (JoinText == Text:-1) {
JoinText = TextDrawCreate(622.0, 389.0, name);
TextDrawLetterSize(JoinText, 0.35, 1.0);
TextDrawSetShadow(JoinText, 1);
TextDrawAlignment(JoinText, 3);
}
else TextDrawSetString(JoinText, name);
}
(701) : warning 221: label name "Text" shadows tag name (702) : warning 213: tag mismatch (703) : warning 213: tag mismatch (704) : warning 213: tag mismatch (701) : warning 203: symbol is never used: "Text"