30.03.2009, 16:41
I searched and couldn't find my answer so therefore I'll post the question; I was wondering how to change the way the gamescore works? I'd like it to work by how many kills you get, any ideas?
SetPlayerScore(GetPlayerScore(killerid),+1);
if(gTeam[playerid] == TEAM_1)
{
SetPlayerPos(playerid,2469.9905,-1688.9550,13);
GivePlayerWeapon(playerid, 26, 80); // Sawn-off's
GivePlayerWeapon(playerid, 32, 200); // Tec9
GivePlayerWeapon(playerid, 24, 100); // Deagle
}
if(gTeam[playerid] == TEAM_1)
{
ResetPlayerWeapons(playerid);
SetPlayerPos(playerid,2469.9905,-1688.9550,13);
GivePlayerWeapon(playerid, 26, 80); // Sawn-off's
GivePlayerWeapon(playerid, 32, 200); // Tec9
GivePlayerWeapon(playerid, 24, 100); // Deagle
}
Originally Posted by Savill
It worked thanks alot, does anybody know how to make it so you HAVE to register/login otherwise you get kicked or keep dieing until you do?
|