14.08.2007, 21:51
Hi again i was looking throught the pawn code and ther is no comand to give you the bonus it says you get the bonus but it was missing a little bit of code GivePlayerMoney(playerid,contador[playerid]*BONUS);// this is missing
new string[255];
format(string,sizeof(string),"You get a ~r~BONUS ~w~ every 5 Trailers!.~n~You Deliver %d Trailers your bonus is ~n~~b~$%d",contador[playerid],contador[playerid]*BONUS);
GameTextForPlayer(playerid,string,5000,3);
GivePlayerMoney(playerid,contador[playerid]*BONUS);// go's here
}
else
{
GameTextForPlayer(playerid,"~w~Mission complete! Here is your cash!. ~n~go get the other ~r~Trailer ~w~to the ~r~Target Desternation",5000,3);
hope you dont mind
new string[255];
format(string,sizeof(string),"You get a ~r~BONUS ~w~ every 5 Trailers!.~n~You Deliver %d Trailers your bonus is ~n~~b~$%d",contador[playerid],contador[playerid]*BONUS);
GameTextForPlayer(playerid,string,5000,3);
GivePlayerMoney(playerid,contador[playerid]*BONUS);// go's here
}
else
{
GameTextForPlayer(playerid,"~w~Mission complete! Here is your cash!. ~n~go get the other ~r~Trailer ~w~to the ~r~Target Desternation",5000,3);
hope you dont mind