02.10.2011, 10:12
pawn Код:
StartDriverMissionForPlayer(playerid,level)
{
new string[1000];
new rand = random(sizeof Mission1);
new rand2 = random(sizeof Mission2);
new rand3 = random(sizeof Mission3);
new Float:mx, Float:my, Float:mz;
// default messages for all different types
SendClientMessage(playerid, COLOR_SEXYGREEN, " ");
SendClientMessage(playerid, COLOR_SEXYGREEN, " ");
SendClientMessage(playerid, COLOR_SEXYGREEN, "|==========================================================|");
if(gTeam[playerid] == TEAM_DRIVERS && level == 1)
{
if(Mission1[rand][mission_type] == 1)
{
// messages
format(string, sizeof string, "Mission: {FF6347}%s", Mission1[rand][mission_nickname]);//more code, that u saw earlier