problem with team commands - 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: problem with team commands (
/showthread.php?tid=67939)
problem with team commands -
raido - 05.03.2009
having this problem some time
Код:
dcmd_pu(playerid, params[])
{
if (gTeam[playerid]==LSPD)
{
SendClientMessage(playerid, COLOR_BLUE, "This is the Las Venturas Police, pull over now!! ");
}
#pragma unused params
}
If I open up the server and go to LSPD team it says UNKNOWN COMMAND I dont know why this happens... and this isn't the only command
Re: problem with team commands -
raido - 05.03.2009
help please(sorry for double post had a mistake)
Re: problem with team commands -
[RP]Rav - 05.03.2009
pawn Код:
dcmd_pu(playerid, params[])
{
if (gTeam[playerid]==LSPD)
{
SendClientMessage(playerid, COLOR_BLUE, "This is the Las Venturas Police, pull over now!! ");
return 1;
}
#pragma unused params
}
Re: problem with team commands -
raido - 05.03.2009
No use...now it's just ignoring...no UNKNOWN COMMAND now but ignoring no comeback message
Re: problem with team commands -
[M2S]moe - 05.03.2009
Why would a cop send a msg to himself saying "Pull over now"? Might wanna rethink your command a little xD
Re: problem with team commands -
raido - 05.03.2009
dcmd_pu(playerid, params[])
{
if (gTeam[playerid]==LSPD)
{
SendClientMessageToAll(COLOR_BLUE, "This is the Los Santos Police, pull over now!! ");
}
#pragma unused params
return 1;
}
Ok I fixed,but no use
Re: problem with team commands -
[M2S]moe - 05.03.2009
if it says nothing it means you're not team LSPD.