if(PlayerInfo[playerid][pPaintball] == 5)
{
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
SetPlayerScore(playerid,0);
if(GetPlayerScore(killerid) == 2)
{
SetPlayerHealth(killerid,100);
SetPlayerArmour(killerid,100);
GivePlayerWeapon(killerid,23,999);
GameTextForPlayer(killerid, "~r~Weiter so", 3500, 5);
return 1;
}
if(GetPlayerScore(killerid) == 3)
{
GameTextForPlayer(killerid, "~r~Weiter so", 3500, 5);
return 1;
}
if(GetPlayerScore(killerid) == 4)
{
SetPlayerHealth(killerid,100);
SetPlayerArmour(killerid,100);
GivePlayerWeapon(killerid,24,999);
GameTextForPlayer(killerid, "~r~Weiter so", 3500, 5);
return 1;
}
if(GetPlayerScore(killerid) == 5)
{
GameTextForPlayer(killerid, "~r~Weiter so", 3500, 5);
return 1;
}
if(GetPlayerScore(killerid) == 6)
{
SetPlayerHealth(killerid,100);
SetPlayerArmour(killerid,100);
GivePlayerWeapon(killerid,27,999);
GameTextForPlayer(killerid, "~r~Weiter so", 3500, 5);
return 1;
}
if(GetPlayerScore(killerid) == 7)
{
GameTextForPlayer(killerid, "~r~Weiter so", 3500, 5);
return 1;
}
if(GetPlayerScore(killerid) == 8)
{
SetPlayerHealth(killerid,100);
SetPlayerArmour(killerid,100);
GivePlayerWeapon(killerid,31,999);
GameTextForPlayer(killerid, "~r~Weiter so", 3500, 5);
return 1;
}
if(GetPlayerScore(killerid) == 9)
{
GameTextForPlayer(killerid, "~r~Weiter so", 3500, 5);
return 1;
}
if(GetPlayerScore(killerid) == 10)
{
GivePlayerWeapon(killerid,34,999);
SetPlayerHealth(killerid, 100);
SetPlayerArmour(killerid, 100);
GameTextForPlayer(killerid, "~r~Weiter so", 3500, 5);
return 1;
}
}
Wäre das theor. so richtig?