/(su)spect - 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)
+--- Thread: /(su)spect (
/showthread.php?tid=501917)
/(su)spect -
Mriss - 21.03.2014
Could I get a suspect command with this team thing please?
pawn Код:
if(gTeam[playerid] == TEAM_COPS)
Re: /(su)spect -
Aerotactics - 21.03.2014
Re: /(su)spect -
Mriss - 21.03.2014
Re: /(su)spect -
Aerotactics - 21.03.2014
Re: /(su)spect -
Mriss - 21.03.2014
Re: /(su)spect -
RajatPawar - 21.03.2014
Could you post all the teams that you have in your script?
It's like, the more information you give, the more we can help you. (
....)
Re: /(su)spect -
LocMax - 21.03.2014
pawn Код:
CMD:su(playerid,params[])
{
if(gTeam[playerid] != TEAM_COPS) return SendClientMessage(playerid, 0xFF0000AA, "You need to be a cop.");
if(isnull(params)) return SendClientMessage(playerid, 0xFF0000AA, "/su [playerid]");
if(!IsPlayerConnected(strval(params) || strval(params) == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, "Invalid player ID.");
SetPlayerWantedLevel(strval(params), GetPlayerWantedLevel(strval(params)+1);
SetPlayerColor(strval(params), 0xFFC400AA);
SendClientMessage(strval(params), 0xFF0000AA, "You have been suspected.");
SendClientMessage(playerid, 0x00FFFFAA, "Player has been suspected.");
return 1;
}
Re: /(su)spect -
Lloyde - 21.03.2014
What ?