Also ich hab so gemacht sobald man admin rank 1 ist bekommt man bestimmte score und geld doch es klappt nur bei mir und bei allen andern nicht mehr
public AdminRank()
{
for(new i=0;i<MAX_PLAYER_NAME;i++)
{
if(Admin(i,1))
{
SetPVarInt(i,"Kills",1000);
SetPVarInt(i,"Deaths",0);
SetPlayerScore(i,1000);
ResetPlayerMoney(i);
GivePlayerMoney(i,99999999);
return 1;
}
if(Admin(i,2))
{
SetPVarInt(i,"Kills",1100);
SetPVarInt(i,"Deaths",0);
SetPlayerScore(i,1100);
ResetPlayerMoney(i);
GivePlayerMoney(i,99999999);
return 1;
}
if(Admin(i,3))
{
SetPVarInt(i,"Kills",1200);
SetPVarInt(i,"Deaths",0);
SetPlayerScore(i,1200);
ResetPlayerMoney(i);
GivePlayerMoney(i,99999999);
return 1;
}
if(Admin(i,4))
{
SetPVarInt(i,"Kills",1337);
SetPVarInt(i,"Deaths",0);
SetPlayerScore(i,1337);
ResetPlayerMoney(i);
GivePlayerMoney(i,99999999);
return 1;
}
if(Admin(i,5))
{
SetPVarInt(i,"Kills",1338);
SetPVarInt(i,"Deaths",0);
SetPlayerScore(i,1338);
ResetPlayerMoney(i);
GivePlayerMoney(i,99999999);
return 1;
}
}
return 1;
}