Jump to content

[INC]CarName


Guest farse

Recommended Posts

[iNC]CarName By Farse

INFO:

Parere personala :Primul meu include :D

Tip:INCLUDE

Linii:37

Functie:

GVN(vehicleid); //--GetVehicleName

Exemplu:

public OnPlayerStateChange(playerid, newstate, oldstate)

{

    if (newstate == PLAYER_STATE_DRIVER)

    {

new vehicleid;

vehicleid = GetPlayerVehicleID(playerid);

format(vehname,sizeof(vehname),"~r~%s",GVN(vehicleid)); //aici exemplu

GameTextForPlayer(playerid,vehname,5000,1);

    }

return 1;

}

DOWNLOAD:

co.jpg

Pastebin

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

Cum se fac Includele?

Pai ele de preferat le faci in NotePad.Dar eu le fac in NotePad++

Si ca sa fac o functie noua se incepe cu stock Functia dorita(ce sa cuprinda)

EX:

strock SetPlayerWeapon(playerid,weapon,ammo)
{
ResetPlayerWeapon(playerid);
GivePlayerWeapon(weapon,ammo);
}

Daca ai inteles..spor la facut "INC"

Link to comment
Share on other sites

  • 3 years later...

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.

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