Posts: 121
Threads: 0
Joined: Nov 2010
Reputation:
0
Somehow i can't enter pastebin,
Can you put everything on [ PAWN ] [ / PAWN ] Brackets please?
Posts: 2,593
Threads: 34
Joined: Dec 2007
pawn Код:
public OnPlayerFinishMission(playerid)
{
SetPlayerScore(playerid, GetPlayerScore(playerid) + 3);
new pname[24],string[100];
GetPlayerName(playerid,pname,24);
if(IsSmallAirCraftMission[playerid]) format(string,sizeof(string), "%s completed %s in a dodo",pname,SmallAirCraftMissionRandom[MissionArrayID[playerid]][MissionName]);
else if(IsCargoAirCraftMission[playerid]) format(string,sizeof(string), "%s completed %s in a Nevada",pname,CargoAirCraftMissionRandom[MissionArrayID[playerid]][MissionName]);
else format(string,sizeof(string), "%s completed %s in a shamal",pname,PilotMissionRandom[MissionArrayID[playerid]][MissionName]);
SendClientMessageToAll(COLOR_YELLOW,string);
return 1;
}
Posts: 752
Threads: 87
Joined: Jul 2010
Reputation:
0
Awesome that works nicely, thanks to both of you for helping.