Jump to content

Cum sa adaugi un vehicul pe nume !!


Sice15

Recommended Posts

Faceti exact ca aici

new admincar;

public OnGameModeInit()

{

admincar = AddStaticVehicle(ID,x,y,z,233.9429,1,62); // Vehicul

public OnPlayerStateChange(playerid, newstate, oldstate)

{

  new PlayerName[24];

  GetPlayerName(playerid, PlayerName, sizeof(PlayerName));

  if(newstate == PLAYER_STATE_DRIVER)

  {

      new Vehicle = GetPlayerVehicleID(playerid);

    if(Vehicle == admincar)

      {

        if(strcmp(PlayerName,"Numele playerului",true))

        {

            RemovePlayerFromVehicle(playerid);

            SendClientMessage(playerid, 0x33AA33AA, "Imi pare rau , Aceasta masina este a lui SiCE");

        }

      }

  }

  return 1;

}

<a href='http://www.yhcbux.com/?ref=sice'><img src='http://www.yhcbux.com/images/banner1.gif'></a>

Link to comment
Share on other sites

  • 2 weeks later...

nice...dar puteti incerca niste car system de pe sa-mp.com.e un programel si face totul mult mai repede si mai sigur

Proiecte:

Hospital Interior-0%(neinceput)

Limo Interior-0%(inceput)

Bank Interior-0%(neinceput)

Bus Interior-0%(inceput)

Plane Interior-0%(neinceput)

Train Interior-0%(neinceput)

Boat Interior-95%(terminat,mici retusuri)

Mini-Scripturi care au fost publicate:

GPS System: http://forum.sa-mp.ro/filter-scripts-and-gamemodes/%28fs%29-gps-system/

Link to comment
Share on other sites

am incercat 10 erori dar.. mai bn e cu FS care lam zis

--------------------------------------

|Te cam bate limba roamana la greu    |

--------------------------------------

____________________________________________________________________________________________________________________________________

DOWNLOAD : Luati un CarOwner , pentru incepatorii care nu se descurca cu acest tutorial -> Apasa aici <-

TUTORIAL : Tot ce aveti de facut este sa va logati cu parola rcon (/rcon login [parola]) apoi scrieti /newbuycar [iDmasina] [culoare1][culoare2][pretul]

Link to comment
Share on other sites

  • 2 weeks later...

C:\Users\HP\Desktop\tutto\programmi\Gta\server\Clan Drift\gamemodes\ClanDrift.pwn(938) : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Warning.

---------------------------------------------------------------------------------------------------------------------------

    if(Vehicle == admincar)    [LINIA 938]

---------------------------------------------------------------------------------------------------------------------------

new admincar;

public OnGameModeInit()

{

    admincar = AddStaticVehicle(1,1,2,3,233.9429,1,62); // Vehicul

---------------------------------------------------------------------------------------------------------------------------

public OnPlayerStateChange(playerid, newstate, oldstate)

{

  new PlayerName[24];

  GetPlayerName(playerid, PlayerName, sizeof(PlayerName));

  if(newstate == PLAYER_STATE_DRIVER)

  {

      new Vehicle = GetPlayerVehicleID(playerid);

    if(Vehicle == admincar)

      {

        if(strcmp(PlayerName,"[CD]Samy_Romafia",true))

        {

            RemovePlayerFromVehicle(playerid);

            SendClientMessage(playerid, 0x33AA33AA, "alla");

        }

      }

  }

  return 1;

}

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

Cum rezolv?

senzaolo1xv.png

www.dsrclan.forumfree.it

Link to comment
Share on other sites

Si acum?  :o

C:\Users\HP\Desktop\tutto\programmi\Gta\server\Clan Drift\gamemodes\ClanDrift.pwn(32) : warning 202: number of arguments does not match definition

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Warning.

AddStaticVehicle(562,-2390.1931,-589.1910,132.1579,216.3570,158,158); //

Ajutor pls

senzaolo1xv.png

www.dsrclan.forumfree.it

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.