Ranks & Gans - 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: Ranks & Gans (
/showthread.php?tid=71482)
Ranks & Gans -
Frankox - 01.04.2009
I want to make ranks and gangs for my script, can anyone give me the script of it?
Gangs and Ranks like in PEN:LS MOD.
Re: Ranks & Gans -
Frankox - 01.04.2009
....
Re: Ranks & Gans -
Pyrokid - 01.04.2009
Here's a script
And here's how to do gangs
And here's some more cool stuff
Re: Ranks & Gans -
Jese - 01.04.2009
Quote:
Originally Posted by (.Aztec);
Use godfather if you're new to scripting.
|
no, use wiki
Re: Ranks & Gans -
Frankox - 01.04.2009
new gTeam[MAX_PLAYERS];
new cd_timer;
new cd_sec;
new Level[MAX_PLAYERS];
new UpgradePoints[MAX_PLAYERS];
new TEAM_GROVE;
new TEAM_BALLAS;
new TEAM_VAGOS;
new TEAM_ARMY;
new warning[256];
new player_names[SLOTS][MAX_PLAYER_NAME]; // Saves the player's names
new PlayerInfo[MAX_PLAYERS];
new pMember[MAX_PLAYERS];
//---------------------------------------------------------------------------
main()
{
print("\n----------------------------------");
print("Los Santos Death Match");
print("----------------------------------\n");
}
public SetPlayerSpawn(playerid)
{
if (PlayerInfo[playerid]) [pMember] == 0 || PlayerInfo[playerid][pLeader] == 0) // broj organizacije.. u GF default zadnja je 11(licenseri) znaci da bi tada isao kod "broj_org" 12
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0); // ako se spawnaju u interioru promjenit iz 0 u broj_interior-a
SetPlayerPos(playerid, 166,2779.8994,-2457.1028,13.6356 );
PlayerInfo[playerid][pInt] = 0; // ako se spawnaju u interioru promjenit iz 0 u kao kod "SetPlayerInterior"
return 1;
}
C:\Documents and Settings\Opacak\Desktop\SAMP\SAMP SERVER\gamemodes\abcd.pwn(25) : warning 201: redefinition of constant/macro (symbol "INVALID_PLAYER_ID")
C:\Documents and Settings\Opacak\Desktop\SAMP\SAMP SERVER\gamemodes\abcd.pwn(212) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Opacak\Desktop\SAMP\SAMP SERVER\gamemodes\abcd.pwn(212) : warning 215: expression has no effect
C:\Documents and Settings\Opacak\Desktop\SAMP\SAMP SERVER\gamemodes\abcd.pwn(212) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Opacak\Desktop\SAMP\SAMP SERVER\gamemodes\abcd.pwn(212) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Opacak\Desktop\SAMP\SAMP SERVER\gamemodes\abcd.pwn(212) : fatal error 107: too many error messages on one line
Hope you will explain me what's wrong..