How to make myself a police officer? - 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: How to make myself a police officer? (
/showthread.php?tid=89426)
How to make myself a police officer? -
Jordan69 - 02.08.2009
Topic says it all, I've been looking all over.. I can't find it, please help.
Re: How to make myself a police officer? -
Correlli - 02.08.2009
And you're using..? (which gamemode, filterscript)
Next time don't open topic if you won't give more information.
Re: How to make myself a police officer? -
TheNotorius - 02.08.2009
Well..I Use This Code In My Server:
Код:
if (strcmp("/beacop", cmdtext, true, 10) == 0)
{
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "**%s : Takes Out His Police Uniform...", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
LimitGlobalChatRadius(30);
SetPlayerSkin( playerid, 71 );
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "**%s : Puts hes uniform on!", pName);
format(string, sizeof(string), "**%s Is Now A Police Officer !!", pName);
SendClientMessageToAll(0x0000BBAA, string);
LimitGlobalChatRadius(30);
SetPlayerSkin(playerid,280);
SetPlayerColor(playerid,0x0000BBAA);
GivePlayerWeapon(playerid,3);
GivePlayerWeapon(playerid,29,9000);
SetPlayerArmour(playerid,100);
SetPlayerPos(playerid,1552.1587,-1675.7294,16);
return 1;
}
Hope That Helps man ^^
Re: How to make myself a police officer? -
Jordan69 - 02.08.2009
This is what I'm using:
http://forum.sa-mp.com/index.php?top...38.0;topicseen
and where do I add that code?
Re: How to make myself a police officer? -
Agent Smith - 02.08.2009
The command to make yourself leader on that script is /makeleader <ID> <1> - 1 is for PD.
Re: How to make myself a police officer? -
Jordan69 - 02.08.2009
Thanks, but it keeps saying I aint authorized to use the command in game.. even though it says I'm a level 3 admin. [ Logged in as one ]
Re: How to make myself a police officer? -
Agent Smith - 02.08.2009
You need to be level 4, If you want to change it go into Find and search for
Then look for
pawn Код:
if (PlayerInfo[playerid][pAdmin] >= 4)
And change the 4 to 3 or even lower if you want to.
Re: How to make myself a police officer? -
Correlli - 03.08.2009
Quote:
Originally Posted by Jordan69
|
Ask in that topic next time.