|
|
#1 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Dec 2011
Posts: 380
Reputation: 25
|
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 |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with Tazer FS | swat365 | Scripting Help | 3 | 05/01/2012 03:39 PM |
| [HELP] Tazer | joeri55 | Help Archive | 2 | 02/06/2011 01:40 AM |
| Tazer with a gun | vection | Help Archive | 6 | 23/08/2010 11:45 PM |
| tazer | TouR | Help Archive | 3 | 24/06/2010 07:21 PM |
| [HELP] Tazer Gun | Karl115 | Help Archive | 21 | 20/06/2010 06:21 PM |