Jump to content
  • 0

As dori si eu


Guest mYz

Question

6 answers to this question

Recommended Posts

1. Am vazuto pe sa-mp.com/ro nu mai stiu foloseste Search

2.

if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/rac", true) == 0) //
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] < 1337)
{
SendClientMessage(playerid, COLOR_RED, " you are not authorized to use that command!");
return 1;
}
new bool:unwanted[CAR_AMOUNT];
for(new player=0; player<MAX_PLAYERS; player++)
{
if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
}
for(new car = 1; car <= 268; car++)
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* All unused cars respawned by %s.", sendername);
BroadCast(COLOR_RED,string);
}
return 1;
}

3. Click (Nam spus numele ca sa nu fac reclama)

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

2)

if(strcmp(cmd, "/respawnthiscar", true) == 0 || strcmp(cmd, "/rtc", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

        if(PlayerInfo[playerid][pAdmin] < 4 )

{

    SendClientMessage(playerid, COLOR_GRAD1, "  Nu esti autorizat sa folosesti aceasta comanda!");

    return 1;

}

if(IsPlayerInAnyVehicle(playerid))

{

    GetPlayerName(playerid, sendername, sizeof(sendername));

    format(string, 256, "AdmWarning: %s a respawnat masina cu numarul %d din mod.",sendername,GetPlayerVehicleID(playerid));

ABroadCast(COLOR_WHITE,string,1);

    SetVehicleToRespawn(GetPlayerVehicleID(playerid));

  RemovePlayerFromVehicle(playerid);

  }

}

return 1;

1) //----------------------------------[ROB]-----------------------------------------------

if(strcmp(cmd, "/rob", true) == 0)

{

  if(PlayerInfo[playerid][pRob] >= 15)

    {

if(IsPlayerConnected(playerid))

  {

  if(IsPlayerInVehicle(playerid, 254))

    {

    CP[playerid] = 50;

SetPlayerCheckpoint(playerid, 1460.9639, -1022.6666, 23.8281, 3.0);

SendClientMessage(playerid, COLOR_YELLOW,"Drive this van to the City Bank.");

}

else

{

    SendClientMessage(playerid, COLOR_GREY,"  You are not in the black van !");

}

}

}

else

{

SendClientMessage(playerid, COLOR_GREY,"  You are not able to rob the Bank now !");

RemovePlayerFromVehicle(playerid);

SetVehicleToRespawn(253);

return 1;

}

}

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Link to comment
Share on other sites

new timesrobbed[MAX_PLAYERS];

new Security = 0;

new Robbed[MAX_PLAYERS];

new RobbedTime[MAX_PLAYERS];

Dupa cauti : new string[MAX_PLAYER_NAME]; si imediat dupa ea pui " timesrobbed[playerid] = 0; "

Dupa cauti " SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0; " si mai jos pui astea :

" Robbed[playerid] = 0; " si asta " RobbedTime[playerid] = 0; "

Dupa cauti asta : if(MechanicCallTime > 0) si dupa sub pui asta :

if(Robbed == 1)

{

   if(RobbedTime <= 0)

   {

       RobbedTime = 0;

Robbed = 0;

   }

   else

   {

       RobbedTime -= 1;

   }

}

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Link to comment
Share on other sites

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

    • By ZeNY
      Salut SA-MP Romania,
      Am venit aici cu o problema des intalnita dar insa nu i am dat de cap
      **Eroarea / Warningul **
      [22:13:05] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
      [22:13:06] [ERROR] cache_get_field_content_int - invalid datatype
       
      Stiu ca eroarea a mai fost intalnita dar nimeni nu a rezolvat-o
      **Cod/Script** : 
      1.                     cache_get_field_content_int(0, "AddBy");
      2.    CarInfo[id][cModel] = cache_get_field_content_int(0, "Model");
      3.         DSModels[i][dID]                 = cache_get_field_content_int(0, "ID");
      4.     if(cache_num_rows() > 0) cache_get_field_content_int(0, "Warns", intid);
      5.        cache_get_field_content_int(0, "Tax", Tax);
      6.         BizzInfo[v][bID]                       =     cache_get_field_content_int(0, "ID");                
      Va rog, poate se poate rezolva
      Versiunea MYSQL R39
      Si gamemode-ul a avut R34
  • 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.