Jump to content
Hostul a fost schimbat. Daca vedeti serverul offline readaugati rpg.b-zone.ro sau 141.95.124.78:7777 in clientul de sa-mp ×

[PAWN] Tutorial - actori pe server.


ZeCo
 Share

Recommended Posts

Salut, aici o sa vă explic cum să adaugati un actor pe server-ul dumneavoastră.

 

în primul rând, adaugați in Gamemode rândul 

new actor;
actor: CreateActor(modelid, Float:X, Float:Y, Float:Z, Float:Rotation);

La ”Float:X, Float:Y, Float:Z„ (pozitia, pueti pune care vrei, folosind comanda /save in joc).

modelid: skin-ul, pueti folosi ce ID vreti.

 

Exemplu:

new actor;
actor: CreateActor(26, 1439.9125,-2291.0591,13.5469,315.3553);

Si daca vrei sa adaugati si o animatie la actor, folositi asta:

 

new actor;
actor: CreateActor(26, 1439.9125,-2291.0591,13.5469,315.3553);
ApplyActorAnimation(actor, "DANCING", "dnce_M_a", 4.1, 0, 0, 0, 0, 0);

 

Link to comment
Share on other sites

14 hours ago, FnZ said:

Cred ca e


actor = ...

nu


actor: ...

 

da, am gresit primul si dupa am dat copy-paste. de aia este peste tot `:`

Link to comment
Share on other sites

Salut! Acesta teoretic este un tutorial, dar unul simplu. Poate data viitoare vei incerca sa-l faci mai complex si vezi ca nu ai postat in sectiunea corecta. Sectiunea corecta era Tutorials -> Pawn. Succes!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

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