Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

Salut! Sunt incepator .. cum pot sa fac un Filescript simplu in care sa scriu creditele. Sper sa ma ajute cine va si repede.

Va rog sa-mi dati vro idee ceva.  :rolleyes:

Va rog mult de tot. Daca am gresit cu ceva datimi warn.

8 answers to this question

Recommended Posts

Posted

Nu trebuie sa faci un filterscript nou, doar sa adaugi asta la OnPlayerCommandText in GameMode:

if( strcmp( cmdtext, "/credits", true ) == 0 )
{
    SendClientMessage( playerid, -1, "Gamemode: <Cine a creat gamemodeul>" );
    SendClientMessage( playerid, -1, "Filterscripts: <Cine a creat filterscripturile>" );
    SendClientMessage( playerid, -1, "Mape: <Cine a creat mapele>" );
    return 1;
}

SendClientMessage - trimite un mesaj jucatorului in chat.

http://wiki.sa-mp.com/wiki/SendClientMessage

Posted

stuntman-=!!" post="79615" timestamp="1308926673"]

Nu trebuie sa faci un filterscript nou, doar sa adaugi asta la OnPlayerCommandText in GameMode:

if( strcmp( cmdtext, "/credits", true ) == 0 )
{
    SendClientMessage( playerid, -1, "Gamemode: <Cine a creat gamemodeul>" );
    SendClientMessage( playerid, -1, "Filterscripts: <Cine a creat filterscripturile>" );
    SendClientMessage( playerid, -1, "Mape: <Cine a creat mapele>" );
    return 1;
}

http://wiki.sa-mp.com/wiki/SendClientMessage

Multumesc , dar se poate face si un FS prin alta metoda?

Posted

cred ca se refera la dialog

poti face si asa:

ShowPlayerDialog(playerid, Credits, DIALOG_STYLE_MSGBOX,"Server Credits","GameMode --> AnDrEi_MaFiOtU\nFilterscripts --> AnDrEi_MaFiOtU\nMape --> AnDrEi_MaFiOtU\nForum --> Nimeni","OK","Cancel");

Fara reclama in semnatura!

Posted

cred ca se refera la dialog

poti face si asa:

ShowPlayerDialog(playerid, Credits, DIALOG_STYLE_MSGBOX,"Server Credits","GameMode --> AnDrEi_MaFiOtU\nFilterscripts --> AnDrEi_MaFiOtU\nMape --> AnDrEi_MaFiOtU\nForum --> Nimeni","OK","Cancel");

Multumesc , mi-a fost de folos!!

Guest
This topic is now closed to further replies.
×
×
  • 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.