Posts: 156
Threads: 35
Joined: Jan 2009
Reputation:
0
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.
Posts: 156
Threads: 35
Joined: Jan 2009
Reputation:
0
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..