SA-MP Forums Archive
Score help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Score help (/showthread.php?tid=258771)



Score help - Tom1412 - 01.06.2011

on my trucking server i need to know what to put
so i can add score of 3 each time they make a delivery,

this is where it needs to be in

pawn Код:
public OnPlayerFinishMission(playerid)
{
    SendClientMessage(playerid, 0x00FF00FF, "You have completed your mission!");
    new stringtext[100];
    TextDrawHideForPlayer(playerid, advert[playerid]);
    format(stringtext, sizeof(stringtext),"Type /work to start working");
    TextDrawShowForPlayer(playerid,advert[playerid]);
    TextDrawSetString(advert[playerid],stringtext);
   
    return 1;
}



Re: Score help - Ash. - 01.06.2011

Lol.
pawn Код:
SetPlayerScore(playerid, GetPlayerScore(playerid)+3);



Re: Score help - Tom1412 - 01.06.2011

thanx man, i looked on wiki samp but tht was only for killing so i got a bit stuck


Re: Score help - xalith - 01.06.2011

Quote:
Originally Posted by funky1234
Посмотреть сообщение
Lol.
indeed


Re: Score help - Cenation - 01.06.2011

lol.. its ok,...