[Pomoc] grafitski tekst u tutorialu!

Započeo []Don_Region, Februar 13, 2012, 22:18:14 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:CLRP
Detaljan opis problema:nije nikakav problem pitanje je||Kako da u tutorialu(vec imam tutorial)ali da u njemu bude napocetku da pise grafitskim rukopisom npr:scripting and maping team: tako da odma cim udju  da prvo prije tutoriala se to pojavi onda da krece tutorial! :o :o ???
Dio skripte:ovo je prvi dio tutoriala kamo da sada stavim to sto cete mi poslat//----------------------------------------------------------
if(TransportCost[playerid] > 0 && TransportDriver[playerid] < 999)
{
    if(IsPlayerConnected(TransportDriver[playerid]))
{
    new string[64];
    TransportMoney[TransportDriver[playerid]] += TransportCost[playerid];
    TransportTime[TransportDriver[playerid]] = 0;
    TransportCost[TransportDriver[playerid]] = 0;
    format(string, sizeof(string), "~w~Putnik je izasao~n~~g~Zarada $%d",TransportCost[playerid]);
    GameTextForPlayer(TransportDriver[playerid], string, 5000, 1);
}
}
if(GotHit[playerid] > 0)
{
    if(GetChased[playerid] < 999)
    {
        if(IsPlayerConnected(GetChased[playerid]))
        {
        SendClientMessage(GetChased[playerid], COLOR_YELLOW, "Vasa meta je izasla sa servera.");
            GoChase[GetChased[playerid]] = 999;
}
    }
}
if(PlayerPaintballing[playerid] != 0)
{
    PaintballPlayers --;
}
if(PlayerKarting[playerid] > 0 && PlayerInKart[playerid] > 0)
{
    KartingPlayers --;
}
if(PlayersChannel[playerid] < 999)
{
IRCInfo[PlayersChannel[playerid]][iPlayers] -= 1;
}
if(HireCar[playerid] != 299)
{
gLastDriver[HireCar[playerid]] = 300;
gCarLock[HireCar[playerid]] = 0;
UnLockCar(HireCar[playerid]);
if(reason != 0)
{
SetVehicleToRespawn(HireCar[playerid]);
}
}
if(GangCar[playerid] != 512)
{
gLastDriver[GangCar[playerid]] = 520;
gCarLock[GangCar[playerid]] = 0;
UnLockCar(GangCar[playerid]);
}
if (gLastCar[playerid] > 0)
{
gLastDriver[gLastCar[playerid]] = 300;
if(PlayerInfo[playerid][pPhousekey] != gLastCar[playerid]-1)
{
gCarLock[gLastCar[playerid]] = 0;
UnLockCar(gLastCar[playerid]);
}
}
if(PlayerBoxing[playerid] > 0)
{
    if(Boxer1 == playerid)
    {
        if(IsPlayerConnected(Boxer2))
        {
        PlayerBoxing[Boxer2] = 0;
        SetPlayerPos(Boxer2, 765.8433,3.2924,1000.7186);
        SetPlayerInterior(Boxer2, 5);
        PlayerInfo[Boxer2][pInt] = 5;
        GameTextForPlayer(Boxer2, "~r~Mech je prekinut", 5000, 1);
}
    }
    else if(Boxer2 == playerid)
    {
        if(IsPlayerConnected(Boxer1))
        {
        PlayerBoxing[Boxer1] = 0;
        SetPlayerPos(Boxer1, 765.8433,3.2924,1000.7186);
        SetPlayerInterior(Boxer1, 5);
        PlayerInfo[Boxer2][pInt] = 5;
        GameTextForPlayer(Boxer1, "~r~Mech je prekinut", 5000, 1);
}
    }
    InRing = 0;
      RoundStarted = 0;
Boxer1 = 255;
Boxer2 = 255;
TBoxer = 255;
}
    if(TransportDuty[playerid] == 1)
{
TaxiDrivers -= 1;
}
    else if(TransportDuty[playerid] == 2)
{
BusDrivers -= 1;
}
if(PlayerInfo[playerid][pJob] == 11)
{
    if(JobDuty[playerid] == 1) { Medics -= 1; }
}
else if(PlayerInfo[playerid][pJob] == 7)
{
    if(JobDuty[playerid] == 1) { Mechanics -= 1; }
}
else if(PlayerInfo[playerid][pJob] == 17)
{
if(JobDuty[playerid] == 1) { PizzaBoys -= 1; }
}
if (PlayerInfo[playerid][pRoadblock] != 0)
{
RemoveRoadblock(playerid);
}
BusrouteEast[playerid][0] = 0;
BusrouteWest[playerid][0] = 0;
/*TextDrawHideForPlayer(playerid,logo0);
TextDrawHideForPlayer(playerid,logo1);
TextDrawHideForPlayer(playerid,logo2);
TextDrawHideForPlayer(playerid,logo3);*/

if(playerid == CashboxOwner)
{
    new str[128], pName[MAX_PLAYER_NAME];
    GetPlayerPos(playerid, CashboxX, CashboxY, CashboxZ);
    GetPlayerName(playerid, pName, sizeof(pName));
    format(str, 128, "%s (ID: %d) je izasao sa servera i ispustio aktovku!", pName, playerid);
    SendClientMessageToAll(0xFFD700AA, str);
CashboxPickup = CreatePickup(1210, 3, CashboxX, CashboxY, CashboxZ);
CashboxOwner = INVALID_PLAYER_ID;
}
if(playerid == DrogaVlasnik)
{
    new str[128], pName[MAX_PLAYER_NAME];
    GetPlayerPos(playerid, DrogaX, DrogaY, DrogaZ);
    GetPlayerName(playerid, pName, sizeof(pName));
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pMember] == 5 || PlayerInfo[i][pLeader] == 5 || PlayerInfo[i][pMember] == 6 || PlayerInfo[i][pLeader] == 6 || PlayerInfo[i][pMember] == 12 || PlayerInfo[i][pLeader] == 12 || PlayerInfo[i][pMember] == 13 || PlayerInfo[i][pLeader] == 13 || PlayerInfo[i][pLeader] == 14 ||PlayerInfo[i][pMember] == 14 || PlayerInfo[i][pMember] == 15 || PlayerInfo[i][pLeader] == 15 || PlayerInfo[i][pMember] == 16 || PlayerInfo[i][pLeader] == 16)
{
    format(str, 128, "{FFFFFF}%s {FFD700}je izasao sa servera i ispustio paket droge!", pName);
    SendClientMessage(i,0xFFD700AA,  str);
    }
    }
    }
DrogaPickup = CreatePickup(1279, 3, DrogaX, DrogaY, DrogaZ);
DrogaPickupStvoren = 1;
DrogaVlasnik = INVALID_PLAYER_ID;
}
}

public GateClose(playerid)
{
      MoveDynamicObject(pdgate1,1589.053344,-1638.123168,14.122960, 0.97);
      PlayerPlaySound(playerid, 1153, 1589.053344,-1638.123168,14.122960);
      return 1;
}

/*public GateClose2()
{
      MoveDynamicObject(armygate1,310.78073120117, -1554.7513427734, 2.5);
      MoveDynamicObject(armygate2,59.32455444336, -1474.2615966797, 31);
      return 1;
}*/

public GateClose3()
{
      MoveDynamicObject(fbigate, 1534.9020,-1451.5979,14.4882, 1.5);
      return 1;
}
public GateClose5()
{
      DestroyDynamicObject( pdgate3 );
      pdgate2 = CreateDynamicObject(968,1544.700317,-1630.735717,13.096980,-1.000000,-91.000000,269.972869);
      return 1;
}

public GateClose6()
{
      MoveDynamicObject(lcngate, 1284.6973876958, -2056.69921875, 60.518, 1);
  return 1;
}
public GateClose7()
{
      MoveDynamicObject(yakuzagate,1245.3275146484,-767.20440673828,93.842063903809, 1);
  return 1;
}
public GateClose9()
{
      MoveDynamicObject(sfpdgate,-1636.5587158203,688.26141357422,8.9608917236328, 1);
      MoveDynamicObject(sfpdgate1,-1625.0284423828,688.26141357422,8.9608917236328, 1);
  return 1;
}
public GateClose10()
{
DestroyDynamicObject( sfpdrampa1 );
    sfpdrampa1 = CreateDynamicObject(968,-1572.2039794922,658.83715820313,6.8781242370605,0,90,90)
    return 1;
}
public GateClose11()
{
      DestroyDynamicObject( sfpdrampa3 );
      sfpdrampa2 = CreateDynamicObject(968,-1701.4404296875,687.60888671875,24.632816314697,0,270,90)
      return 1;
}

public rusgateclose()
{
MoveDynamicObject(rusgate,-2127.4079589844,-80.801971435547,37.093704223633,1);
    return 1;
}

public elevator1(playerid)
{
      SetPlayerPos(playerid,1174.9591,-1374.8761,23.9736);
      return 1;
}

public elevator2(playerid)
{
      SetPlayerPos(playerid,1174.9100,-1361.7330,13.9876);
  return 1;
}

public SetPlayerSpawn(playerid)
{
if(IsPlayerConnected(playerid))
{
new skin = GetPlayerSkin(playerid);
    SetPlayerAttachedObject(playerid, GetSlot(playerid), PlayerInfo[playerid][pKosa], 2, SkinKosaOffSet[skin][0], SkinKosaOffSet[skin][1], SkinKosaOffSet[skin][2], SkinKosaOffSet[skin][3], SkinKosaOffSet[skin][4], SkinKosaOffSet[skin][5], SkinKosaOffSet[skin][8], SkinKosaOffSet[skin][8], SkinKosaOffSet[skin][8]);
   
    if(PlayerInfo[playerid][pTut] == 0)
    {
        TextDrawShowForPlayer(playerid,lbt);
TextDrawShowForPlayer(playerid,lbb);
gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
SetPlayerInterior(playerid, 3);
PlayerInfo[playerid][pInt] = 3;
SetPlayerPos(playerid, 330.6825,163.6688,1014.1875);
SetPlayerFacingAngle(playerid, 280);
TogglePlayerControllable(playerid, 0);
RegistrationStep[playerid] = 1;
ClearChatbox(playerid, 10);
SendClientMessage(playerid, COLOR_SVETLOPLAVA, "Dobrodosli na Europa Gaming RolePlay...");
SendClientMessage(playerid, COLOR_SVETLOPLAVA, "...postujte sva pravila servera i budite RolePlay igrac!Sada ispunite sljedece podatke...");
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "{00C0FF}Registracija - {F3FF02}Koji ste spol?", "Musko \nZensko", "U redu", "Odustani");
ClearChatbox(playerid, 2);
return 1;
    }
    if(AdminSpec[playerid] == 1)
{
    return 1;
}
new rand;
new house = PlayerInfo[playerid][pPhousekey];
if(PlayerPaintballing[playerid] != 0)
{
    SafeResetPlayerWeapons(playerid);
      SafeGivePlayerWeapon(playerid, 29, 999);
    rand = random(sizeof(PaintballSpawns));
SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]);
    return 1;
}
if(PlayerInfo[playerid][pJailed] == 1)
{
    rand = random(sizeof(gRandomJailSpawns));
SetPlayerPos(playerid, gRandomJailSpawns[rand][0], gRandomJailSpawns[rand][1], gRandomJailSpawns[rand][2]);
SendClientMessage(playerid, COLOR_LIGHTRED, "Nepotpuna zatvorska kazna, nazad u zatvor!.");
return 1;
}
if(PlayerInfo[playerid][pJailed] == 2)
{
    SetPlayerInterior(playerid, 0);
    PlayerInfo[playerid][pInt] = 0;
SetPlayerPos(playerid,268.5777,1857.9351,9.8133);
SetPlayerWorldBounds(playerid, 337.5694,101.5826,1940.9759,1798.7453); //285.3481,96.9720,1940.9755,1799.0811
return 1;
}
if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)
{
    if(FirstSpawn[playerid] != 1)
    {
    //new string[256];
    new cut = deathcost;
GivePlayerCash(playerid, -cut);
MedicBill[playerid] = 0;
MedicTime[playerid] = 0;
NeedMedicTime[playerid] = 0;
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1178.8889,-1323.5004,14.1423);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pDeaths] += 1;
    return 1;
}
}
if(JustDied[playerid] == 1)
{
    if(GetPlayerVirtualWorld(playerid) != 0 || PlayerInfo[playerid][pVirWorld] != 0)
    {
        SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    }
    SetPlayerPos(playerid, 1182.5638,-1323.5256,13.5790);
    SetPlayerFacingAngle(playerid, 270.0);
    SetPlayerInterior(playerid,0);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
}
if(PlayerInfo[playerid][pCrashed] == 1)
{
    if(TutTime[playerid] == 0 && PlayerInfo[playerid][pTut] == 1 && RegistrationStep[playerid] == 0 && AfterTutorial[playerid] == 0 && FirstSpawn[playerid] == 1)
    {
        SetPlayerVirtualWorld(playerid,PlayerInfo[playerid][pVirWorld]);
        SetPlayerInterior(playerid,PlayerInfo[playerid][pInt]);
    SetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z] + 1);
    return 1;
}
}
if(house !=255)
{
    if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
    {
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);
SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
PlayerInfo[playerid][pLocal] = house;
HouseEntered[playerid] = house;
PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
return 1;
}
}
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//Police Force spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid,6);
    rand = random(sizeof(gCopPlayerSpawns));
SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(playerid, 270.0);
PlayerInfo[playerid][pInt] = 6;
return 1;
    }
    if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//FBI spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1649.5148,-1657.2800,22.5156);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
return 1;
    }
if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//SWAT spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 1266.9185,-1671.1216,13.5517);
    SetPlayerFacingAngle(playerid, 85);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
}
if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//MD spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerPos(playerid, 1178.0948,-1326.6187,14.1031);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 270);
PlayerInfo[playerid][pInt] = 0;
    return 1;
}
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//Yakuza spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid, 961.40710449219,-53.224853515625,1001.1245727539);
    PlayerInfo[playerid][pInt] = 5;
    return 1;
}
if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//LCN spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 5);
    SetPlayerPos(playerid, 1265.4475,-794.9257,1084.0078);
    PlayerInfo[playerid][pInt] = 5;
    return 1;
}
if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)//Mayor spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 910.3994,-1038.3134,31.8984);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
}
    if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) //Hitman spawn
    {
        SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 2027.6400,-1308.1936,20.9053);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }
    if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) //News spawn
    {
        SetPlayerToTeamColor(playerid);
        SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1213.4120,-1814.7814,16.5938);
PlayerInfo[playerid][pInt] = 0;
SetPlayerFacingAngle(playerid, 270);
SafeGivePlayerWeapon(playerid, 43, 20);
        return 1;
    }
    if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi Cab Company spawn
    {
        SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 892.3435,-1640.3674,14.7561);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) //ballasi spawn
    {
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 2145.6360,-1486.4216,25.5391);
SetPlayerFacingAngle(playerid, 90);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) //l.Surenos spawn
    {
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1684.7025,-2099.4314,13.8343);
SetPlayerFacingAngle(playerid, 180);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14) //c.racer's spawn
    {
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 2770.5730,-1628.4677,12.1775);
SetPlayerFacingAngle(playerid, 180);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }
if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)//47th spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid, 2495.2605,-1703.7449,1018.3438);
    PlayerInfo[playerid][pInt] = 3;
    return 1;
}
if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)//Bikeri Spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 2573.2410,-1089.3418,66.5842);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
}
    if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0) //Spawn za igrace
    {
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1730.5425,-1912.2008,13.5628);
SetPlayerFacingAngle(playerid, 180);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }

    if ((gTeam[playerid]) == 1)
    {
SetPlayerToTeamColor(playerid);
rand = random(sizeof(gMedPlayerSpawns));
SetPlayerPos(playerid, gMedPlayerSpawns[rand][0], gMedPlayerSpawns[rand][1], gMedPlayerSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
    else
    {
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1612.3240,-2330.1670,13.5469);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
}
return 1;
}

//------------------------------------------------------------------------------------------------------

Neke slike/video za lakse dobivanje pomoci(neobavezno):\\||
Poslednja Izmena: Februar 13, 2012, 23:03:29 POSLE PODNE od Xero