World of Metin

[Tutorial]Creare Pickup-Info

View previous topic View next topic Go down

[Tutorial]Creare Pickup-Info

Post by A.Levine on Fri Sep 14, 2012 10:17 am

Buna Ziua

Autor: Tufa De Pitesti

Azi am sa va invat cum sa faceti un Info-PickUp un ""J"" Care cand te apropri de el iti apre un text

1.Pentru inceput trebuie sa adaugam un:
Adaugam:

#include

Si apoi jos

new numele - pickup-info;

Acum mergem la OnGameModeInit

Si vom adauga unde este pick-up

Numele - Pickup-info = CreatePickup(1239, 23, X,Y,Z);// [La X,Y,Z Adaugam Cordonatele unde sa apara (/save in joc)]
Pentru a face mai usor folosim Asta
Sa aflam cordonatele

1239, 23 Acestea Sunt Modelul si id
1239 = Model
23 = ID

Acum ca sa apara Textul

Adaugam sau cautam

public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == Numele-PickUp-Info)
{
GameTextForPlayer(playerid, "Si aici Textul care sa apara", 5000, 3);//
}
return 1;
}

A.Levine
Administrator
Administrator

Posts : 931
Reputation : 0
Join date : 19/10/2010
Age : 18
Location : Hunedoara

View user profile http://world-of-metin.big-forum.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum