Jump to content

ColAndreas


Ph0eniX

Recommended Posts

Salut , ba sincer mi asa cam ... aiurea sa postez tocmai eu o chestie :)) ca nu stiu sa "folosesc" ceva. In fine , as dori un exemplu / fs / tutorial cum sa folosesc collision de la ColAndreas.

 

Ex: obj = CreateObject(......); <- Obiectu care sa aibe colisiune

MoveObject(obj); etc.....

Daca se "loveste" de un alt obiect , sa nu se mai "miste" obiectul "obj".

Nu am folosit nici-o data ColAndreas :)) deci is newbie cu el :)).

Va multumesc anticipat :D

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Cred ca ai nevoie de un public OnDynamicObjectMoved(objectid), pentru asta.

Daca intelegi ce vreau sa iti spun. Daca nu explica-te mai bine despre ce este vorba, ca asa nu imi dau seama :))

public OnDynamicObjectMoved(objectid){
	if(objectid == NUMEOBIECT){
		MoveDynamicObject(NUMEOBIECT,....
	}
}

 

Ai nevoie de ajutor in scripting si nu ai bani? Te pot ajuta cu mare drag. Dar asta nu inseamna sa iti lucrez un Sistem de joc complet, daca ai nevoie de ajutor ma poti contacta pe Discord.ezgif-2-3a38433e2465.gif.9283810e304f5e405309769455e5e14b.gif

Link to comment
Share on other sites

Momentan vreau sa fac un FS care foloseste un obiect miscat de jucator. Si vreau sa obiectu sa aiba collision. De exemplu daca se loveste obiectul de un perete , un alt obiect , pamant sau altceva , sa se opreasca.

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

1 hour ago, Ph0eniX said:

Momentan vreau sa fac un FS care foloseste un obiect miscat de jucator. Si vreau sa obiectu sa aiba collision. De exemplu daca se loveste obiectul de un perete , un alt obiect , pamant sau altceva , sa se opreasca.

Vrei sa faci un sistem ceva in genul Fotball? Sau?

Ai nevoie de ajutor in scripting si nu ai bani? Te pot ajuta cu mare drag. Dar asta nu inseamna sa iti lucrez un Sistem de joc complet, daca ai nevoie de ajutor ma poti contacta pe Discord.ezgif-2-3a38433e2465.gif.9283810e304f5e405309769455e5e14b.gif

Link to comment
Share on other sites

Vreau sa fac un script "submarin" care sa nu poata "iesi" din apa si sa nu poata "merge" mai jos de "pamantul din apa" 

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

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.

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