Jump to content
  • 0

Ajutor un pic


ionutuidumanu

Question

Am un sv de stunt cand ma duc intro zona de DM si omor pe cnv in loc sami dea mie +1 score ii da lui,dar cand nu sunt in zona de dm si omor pe cnv imi da mie score +1

Uitati comanda ce trebuie sa modific la ia sa mearga ce am scris mai sus

if( DMZone[killerid] >= 1)

{

        TextDrawHideForPlayer(playerid,HealthBar[playerid]);

GivePlayerMoney(killerid, 7000);

SetPlayerScore(playerid,GetPlayerScore(playerid)+1);

SetPlayerScore(killerid,GetPlayerScore(killerid)-0);

        GameTextForPlayer(playerid, "~r~You Die", 5000, 2);

PlayCrimeReportForPlayer(killerid, killerid, 3);

        kills[killerid]++;

    }

if( DMZone[killerid] == 0)

{

        TextDrawHideForPlayer(playerid,HealthBar[playerid]);

GivePlayerMoney(playerid, 2000);

SetPlayerScore(killerid,GetPlayerScore(killerid)+1);

SetPlayerScore(playerid,GetPlayerScore(playerid)-0);

        GameTextForPlayer(playerid, "~r~You Die", 5000, 2);

PlayCrimeReportForPlayer(killerid, killerid, 3);

    }

return 1;

}

The Legend

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.