Jump to content
  • 0

Va rog Ajutatima


[RSD]TheBoss

Question

Deci In GameMode Meu In LOcul Acelui Text Cand Omori pe CIneva nu este :'(

Se schimba vremea  cannd moare cineva si se  schimba  intru-na si e enervant trb sa scriu /blueskies(comanda creata de mn)ca s-o schimb la loc va rog spunetimi cum pot face sa nu se mai  schimbe vremea SI SA APRA aCEL tEXT eXP:

[COD]TheBoss[imaginea cu arma][OCD]sLn?

vA rrOG :'( :'( :'(

Trb sa va dau Public OnPlayerDeadh si Public OnPlayerCOnnect?

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

=-" post="48074" timestamp="1292224789"]

Scrie romaneste. ;) N-am inteles mai nimic din ce ai zis.

Fericit? ???

Da ajutama deci cum faca sa nu se mai schimbe vremea cand moare cineva:(

Uite OnPlayerConnect

public OnPlayerConnect(playerid)

{

new player[MAX_PLAYER_NAME];

GetPlayerName(playerid, player, sizeof(player));

new string[50];

format(string, sizeof(string), "Welcome '%s', enjoy your stay !", player);

    SendClientMessage(playerid, COLOR_GREEN, string);

SendPlayerFormattedText(playerid, "Type /help to get started", 0);

SendPlayerFormattedText(playerid, "Don't forgot login n register", 0);

SendPlayerFormattedText(playerid, "GameMode,FilerScipt and Maps was made by TheBoss", 0);

SendPlayerFormattedText(playerid, "Have Fun!", 0);

pRank[playerid] = 0;

gPlayerLogged[playerid] = 1;

TextDrawShowForPlayer(playerid, NEWS_TEXTDRAW);

gActivePlayers[playerid]++;

gLastGaveCash[playerid] = GetTickCount();

    SetPlayerMapIcon( playerid, 0, 214.194396,1863.726440,13.140625, 58, 0 );

SetPlayerMapIcon( playerid, 1, -228.306442,2729.432861,62.687500, 59, 0 );

SetPlayerMapIcon( playerid, 2, -1309.324707,2494.259033,89.867187, 60, 0 );

SetPlayerMapIcon( playerid, 3, 384.733917,2458.126708,16.500000, 6, 0 );

return 1;

}

OnPlayerSPawn

public OnPlayerSpawn(playerid)

{

GangZoneShowForPlayer(playerid, Japan, -8388424);

GangZoneShowForPlayer(playerid, America, 65477);

GangZoneShowForPlayer(playerid, USA, 16711888);

GangZoneShowForPlayer(playerid, OldAir, -65332);

SetPVarInt(playerid, "WepState", GetPlayerWeaponState(playerid));

    new string[64], pName[MAX_PLAYER_NAME];

    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);

    format(string,sizeof string,"%s has joined on Call Of Duty Blacks Ops. Welcome!",pName);

    SendClientMessageToAll(0xFFFFFFAA,string);

   

SetPlayerInterior(playerid,0);

TogglePlayerClock(playerid,0);

    SetPlayerToTeamColor(playerid);

    SetWeather(32);

    TextDrawShowForPlayer(playerid, Newbie);

TextDrawShowForPlayer(playerid, BabyKilla);

TextDrawShowForPlayer(playerid, Soldier);

TextDrawShowForPlayer(playerid, Gangsta);

TextDrawShowForPlayer(playerid, Underboss);

TextDrawShowForPlayer(playerid, Boss);

if(gPlayerLogged[playerid] == 0) { // If not logged in

TextDrawHideForPlayer(playerid, Newbie);

TextDrawHideForPlayer(playerid, BabyKilla);

TextDrawHideForPlayer(playerid, Soldier);

TextDrawHideForPlayer(playerid, Gangsta);

TextDrawHideForPlayer(playerid, Underboss);

TextDrawHideForPlayer(playerid, Boss);

}

if(pRank[playerid] == 0) { // Newbie

SetPlayerHealth(playerid, 50.0);

GivePlayerWeapon(playerid, 22, 300);

GivePlayerWeapon(playerid, 17, 500);

TextDrawHideForPlayer(playerid, BabyKilla);

TextDrawHideForPlayer(playerid, Soldier);

TextDrawHideForPlayer(playerid, Gangsta);

TextDrawHideForPlayer(playerid, Underboss);

TextDrawHideForPlayer(playerid, Boss);

}

else if(pRank[playerid] == 1) { // Baby Killa

SetPlayerHealth(playerid, 60.0);

SetPlayerArmour(playerid, 15.0);

GivePlayerWeapon(playerid, 23, 300);

GivePlayerWeapon(playerid, 17, 500);

GivePlayerWeapon(playerid, 5, 1);

TextDrawHideForPlayer(playerid, Newbie);

TextDrawHideForPlayer(playerid, Soldier);

TextDrawHideForPlayer(playerid, Gangsta);

TextDrawHideForPlayer(playerid, Underboss);

TextDrawHideForPlayer(playerid, Boss);

}

else if(pRank[playerid] == 2) { // Soldier

SetPlayerHealth(playerid, 70.0);

SetPlayerArmour(playerid, 25.0);

GivePlayerWeapon(playerid, 24, 150);

GivePlayerWeapon(playerid, 5, 1);

TextDrawHideForPlayer(playerid, BabyKilla);

TextDrawHideForPlayer(playerid, Newbie);

TextDrawHideForPlayer(playerid, Gangsta);

TextDrawHideForPlayer(playerid, Underboss);

TextDrawHideForPlayer(playerid, Boss);

}

else if(pRank[playerid] == 3) { // Gangsta

SetPlayerHealth(playerid, 80.0);

SetPlayerArmour(playerid, 50.0);

GivePlayerWeapon(playerid, 29, 200);

GivePlayerWeapon(playerid, 24, 150);

TextDrawHideForPlayer(playerid, BabyKilla);

TextDrawHideForPlayer(playerid, Soldier);

TextDrawHideForPlayer(playerid, Newbie);

TextDrawHideForPlayer(playerid, Underboss);

TextDrawHideForPlayer(playerid, Boss);

}

else if(pRank[playerid] == 4) { // Underboss

SetPlayerHealth(playerid, 90.0);

SetPlayerArmour(playerid, 75.0);

GivePlayerWeapon(playerid, 34, 100);

GivePlayerWeapon(playerid, 24, 300);

TextDrawHideForPlayer(playerid, BabyKilla);

TextDrawHideForPlayer(playerid, Soldier);

TextDrawHideForPlayer(playerid, Gangsta);

TextDrawHideForPlayer(playerid, Newbie);

TextDrawHideForPlayer(playerid, Boss);

}

else if(pRank[playerid] == 5) { // Tha' Boss

SetPlayerHealth(playerid, 100);

SetPlayerArmour(playerid, 100);

GivePlayerWeapon(playerid, 27, 100);

GivePlayerWeapon(playerid, 24, 500);

GivePlayerWeapon(playerid, 31, 500);

TextDrawHideForPlayer(playerid, BabyKilla);

TextDrawHideForPlayer(playerid, Soldier);

TextDrawHideForPlayer(playerid, Gangsta);

TextDrawHideForPlayer(playerid, Underboss);

TextDrawHideForPlayer(playerid, Newbie);

}

return 1;

}

forward SetPlayerToTeamColor(playerid);

public SetPlayerToTeamColor(playerid)

{

    if (gTeam[playerid] == TEAM_USA)

    {

        SetPlayerColor(playerid, COLOR_USA);

        SetPlayerInterior(playerid,0);

SetPlayerArmour(playerid,100);

    }

    else if (gTeam[playerid] == TEAM_Russia)

    {

        SetPlayerColor(playerid, COLOR_Rusia);

        SetPlayerInterior(playerid,0);

        SetPlayerArmour(playerid,100);

    }

    else if (gTeam[playerid] == TEAM_China)

    {

        SetPlayerColor(playerid, COLOR_JAPAN);

        SetPlayerInterior(playerid,0);

        SetPlayerArmour(playerid,100);

}

}

Si OnPlayerDeath

public OnPlayerDeath(playerid, killerid, reason)

{

if(PlayerDied[playerid] == true)

{

PlayerDied[playerid] = false;

SendDeathMessage(killerid, playerid, reason);

if(KillerID[playerid] != INVALID_PLAYER_ID)

SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);

    ResetPlayerWeapons(playerid);

TogglePlayerSpectating(playerid,1);

SendDeathMessage(killerid,playerid,reason);

SetPlayerScore(killerid,GetPlayerScore(killerid)+1);

    SetPlayerScore(playerid, GetPlayerScore(playerid)-1);

    GivePlayerMoney(killerid, 1000);

    GivePlayerMoney(playerid, -1000);

PlayerSpectatePlayer(playerid,killerid);

SetTimerEx("spawn",10000,1, "i", playerid);

}

else

{

TogglePlayerSpectating(playerid, 0);

}

    new string[256];

if(GetPlayerScore(killerid) == 5) // Amount of required kills to get rank 1 *Baby Killa'*

    {

        GetPlayerName(killerid, string, sizeof(string) );

        format(string, sizeof(string), ">> %s advanced to rank *Baby Killa'* by killing %d players", string, GetPlayerScore(killerid) );

        SendClientMessageToAll(COLOR_LIGHTBLUE, string);

        pRank[playerid] = 1;

    }

    else if(GetPlayerScore(killerid) == 25) // Amount of required kills to get rank 2 *Soldier*

{

    GetPlayerName(killerid, string, sizeof(string) );

        format(string, sizeof(string), ">> %s advanced to rank *Soldier* by killing %d players", string, GetPlayerScore(killerid));

        SendClientMessageToAll(COLOR_LIGHTBLUE, string);

        pRank[playerid] = 2;

}

else if(GetPlayerScore(killerid) == 50) // Amount of required kills to get rank 3 *Gangsta'*

{

        GetPlayerName(killerid, string, sizeof(string) );

    format(string, sizeof(string), ">> %s advanced to rank *Gangsta'* by killing %d players", string, GetPlayerScore(killerid));

    SendClientMessageToAll(COLOR_LIGHTBLUE, string);

    pRank[playerid] = 3;

}

else if(GetPlayerScore(killerid) == 150) // Amount of required kills to get rank 4 *Underboss*

{

    GetPlayerName(killerid, string, sizeof(string) );

        format(string, sizeof(string), ">> %s advanced to rank *UnderBoss* by killing %d players", string, GetPlayerScore(killerid));

        SendClientMessageToAll(COLOR_LIGHTBLUE, string);

    pRank[playerid] = 4;

}

else if(GetPlayerScore(killerid) == 300) // Amount of required kills to get rank 5 *Tha' Boss*

{

    GetPlayerName(killerid, string, sizeof(string) );

    format(string, sizeof(string), ">> %s advanced to rank *The Boss* by killing %d players", string, GetPlayerScore(killerid));

    SendClientMessageToAll(COLOR_LIGHTBLUE, string);

    pRank[playerid] = 5;

}

return 1;

}

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By Rby Robert
      Am un gamemode de la un prieten la care a lucrat el acum mi la dat mie sa lucrez eu pe el am facut ceea ce am stiu am dar ma bate ceva cand dau in /v nu imi apare despawn car ma poate ajuta cineva aici aveti comanda 
      CMD:v(playerid, params[])
      {
          if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi prima data.");
          if(VehiclesCount(playerid) == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu ai vehicule personale.");
          new str2[1500],str[200],id[50],vip[30],title[35],rainbow[30],premium[30], stage[30];
          strcat(str2, "Model\tStatus\tUpgrades\tID\n");
          for(new x = 0; x < PlayerInfo[playerid][pSlots]; x++) {
              if(PlayerInfo[playerid][pCarKey][x] != 0) {
                  new ide = veh_ArrayID(PlayerInfo[playerid][pCarKey][x]);
                  if((playerCarsSpawned[playerid][x]) == true ) format(id,50,"%d",CarInfo[ide][cInGameID]); else format(id,50,"{ffffff}not spawned");
                  if(CarInfo[ide][cVip] == true) format(vip, 30, "{FFE802}[VIP] "); else format(vip,3,"");
                  if(CarInfo[ide][cHaveRainBow] == true) format(rainbow, 30, "{791DD5}[R] "); else format(rainbow,3,"");
                  if(CarInfo[ide][cPremium] == 1) format(premium, 30, "{F28644}[P] "); else format(premium,3,"");
                  if(CarInfo[ide][cStage] > 0) format(stage, sizeof(stage), "{509AE4}[S: %d/3]", CarInfo[ide][cStage]); else format(stage,3,"");
                  format(str, 200, "%s\t%s\t%s%s%s%s \t%s\n",aVehicleNames[playerCarsModel[playerid][x] - 400],(playerCarsSpawned[playerid][x]) ? ("{33AA33}[spawned]") : ("{9D0000}[despawned]"),vip,rainbow,premium,stage,id);
                  strcat(str2,str);
              }
              else strcat(str2,"\n[ empty ]\n");
          }
          format(title,sizeof title,"Your vehicles [%d/%d]",VehiclesCount(playerid),PlayerInfo[playerid][pSlots]);
          ShowPlayerDialog(playerid,DIALOG_VEHSPAWN,DIALOG_STYLE_TABLIST_HEADERS, title, str2, "Select","Exit");
          return 1;
      }
    • By IonutAdv
      Deci nu ințeleg ce are ma ajutați va rog?

    • By Gabi98
      Va salut. Rog pe cineva sa ma ajute sa-mi fac un server de samp, mentionez ca am host free de la Ultra-Host. Am GameMode si baza de date. Cineva care se pricepe, nu v-a dura mult. Multumesc
      discord: Gabi3525#2840
    • By halecata
      am uitat parola de la panel b hood si nu stiu cum sa resetez parola                                                                                                                                                                                                         nu stiu sa resetez contul de panel b hood                                                                                                                                                                                                                                                   nu stiu cum fac un cont nou de panel b hood plssss help
       
    • By GamerulFOX
      Salut cine poate sa imi faca o comanda /jobs ? Care sa aibe doar un joc si sa scrie in ea //aici pui cordonatele ! Va rog !
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.