/tazer and /r help
#1

Can someone make me a tazer cmd?

It would be someone like:
CMD:tazer(playerid, params[])
{
if(PlayerInfo[playerid][pLSPD] == 1;


Idk, but if there =1 to LSPD there apart of the LSPD so they can use it, and it goes to rank six

So could anyone help me or give me a cmd please, i cant get it to work

also my /r command will only send 3 characters
CMD:r(playerid, params[])
{
new sendingname[MAX_PLAYER_NAME], string[160];
new rank = PlayerInfo[playerid][pLSPD];
if(rank < 1) return SCM(playerid, COLOR_WHITE, "You are not a member of the LSPD.");
if(isnull(params)) return SCM(playerid, COLOR_WHITE, "USAGE: /r [radio chat]");
GetPlayerName(playerid, sendingname, sizeof(sendingname));
new i;
while(sendingname[i])
{
if(sendingname[i] == '_') sendingname[i] = ' ';
i++;
}
format(string, sizeof(sendingname),"* (R%d) %s: %s", rank, sendingname, params);
SendLSPDMessage(COLOR_LIGHTBLUE, string);
return 1;
}

I twill send 3 chars only, help, it's not because of the 160 string i tried 128 etc

thanks guys<3
Reply


Messages In This Thread
/tazer and /r help - by RLGaming - 06.08.2012, 23:10
Re: /tazer and /r help - by sampplayer12 - 06.08.2012, 23:14
Re: /tazer and /r help - by RLGaming - 06.08.2012, 23:15
Re: /tazer and /r help - by you10 - 06.08.2012, 23:20
Re: /tazer and /r help - by RLGaming - 06.08.2012, 23:46
Re: /tazer and /r help - by =WoR=G4M3Ov3r - 07.08.2012, 00:44
Re: /tazer and /r help - by sampplayer12 - 08.08.2012, 23:31

Forum Jump:


Users browsing this thread: 1 Guest(s)