Not working! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Not working! (
/showthread.php?tid=215274)
Not working! -
Fool - 23.01.2011
i try fixing this but i cant. i dont know why.
pawn Код:
dcmd_backup(playerid,params[])
{
new
string[128];
if(PlayerInfo[playerid][IsCop] == 1 && PlayerInfo[playerid][IsSwatSpawned] == 1 && PlayerInfo[playerid][IsArmySpawned] == 1)
return SendClientMessage(playerid,red,"You aren't a Law Member");
if(PlayerInfo[playerid][IsInEvent] == 1)
return SendClientMessage(playerid,red,"You can't do that in a event!");
if(sscanf(params,"s",string))
return SendClientMessage(playerid,red,"USAGE: /backup [where?]");
else
for (new i=0; i<MAX_PLAYERS+1; i++) if (IsPlayerConnected(i)) if(PlayerInfo[i][IsCop] == 1 && PlayerInfo[i][IsArmySpawned] == 1 && PlayerInfo[i][IsSwatSpawned] == 1)
{
format(string, sizeof(string), "%s(%d) has called for backup in %s!",PlayerName(playerid),playerid,params);
IRC_GroupSay(gGroupID,IRC_CHANNEL,string);
SendClientMessage(i,blue,string);
}
return true;
}
I tried everything
Re: Not working! -
Steven Paul - 23.01.2011
what is the error does it gave?
Re: Not working! -
Fool - 23.01.2011
NOTHING, can you belive that!
Re: Not working! -
Steven82 - 23.01.2011
Quote:
Originally Posted by Porsche911
NOTHING, can you belive that!
|
Yes i can believe that. As..it just happened.
Re: Not working! -
Fool - 23.01.2011
Quote:
Originally Posted by Steven82
Yes i can believe that. As..it just happened.
|
Dont act like that, i need help D:
Re: Not working! -
Steven82 - 23.01.2011
Sorry for being a smart ass LOL but im sure, we could fix this faster if there was an error, since i've never even touched IRC shit i have no idea whats wrong
.
P.S. Im tired so bad spelling/grammar is going to happen.
Re: Not working! -
Fool - 23.01.2011
Bump!