09.11.2013, 20:32
Alright i made this Thread again cuz same problem still presents .
When i compile this FS it says these Errors
here is the Code
and
anyone can help ?!
When i compile this FS it says these Errors
Код:
warning 203: symbol is never used: "join"
Код:
warning 203: symbol is never used: "event"
pawn Код:
COMMAND:join(playerid)
{
if(cuffed[playerid] || tazed[playerid] || BlindFold[playerid] == true || GetPVarInt(playerid, "Tied") == 1 || PlayerInfo[playerid][jailtime])
return SendClientError(playerid, "You can't use this command while tazed/cuffed/tied/blindfolded.");
if(!event) return SendClientError(playerid, "There is no event!");
if(event && !eventsignup) return SendClientError(playerid, "You are too late!");
if(PlayerTemp[playerid][isevent]) return SendClientError(playerid, "You already are in an event!");
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 99.0);
TeleportCheck(playerid);
format(iStr, sizeof(iStr), "7..: [EVENT] %s[%d] has entered the ongoing event. ::.", PlayerName(playerid), playerid);
iEcho(iStr);
pawn Код:
COMMAND:event(playerid, params[])
{
if(GetAdminLevel(playerid) < 6) return SendClientError(playerid, CANT_USE_CMD);
if(event == 1) return SendClientError(playerid, CANT_USE_CMD);
new tmp[ 10 ], tmp2[ 15 ];
if(sscanf(params, "sz", tmp, tmp2)) return SCP(playerid, "<derby/sumo/lms/custom/shipfight/stop>");
ResetEvent();
if(!strcmp(tmp, "stop", true, 4))
{
event = 0;
SendClientMessage(playerid, COLOR_YELLOW, "Event stopped.");
return 1;
}