Jump to content
  • 0

Problema Gates


carol_98

Question

am o problema la vama deci am facut vama in mta apoi am adaugat-o in server cu tot cu porti leam facut pozitia sa fie inchise deschise si eu folosesc un FS cu comanda sa le deschid si cand am bagat prima data mapa imi apareau doar portile apoi leam sters din GM si erau doar in fs imi aparea vama dar fara porti apoi leam adaugat ultimele la mapa si mia aparut dar nu se mai deschid si cand vreau sa bag comanda in GM imi da erori

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

posteaza erorile si liniile

EDIT:

fa asa cum spun eu

sus definesti culoarea asa #define COLOR_PINK 0xFF69B4FF

sus langa celelalte forward adauga

forward NumeClose();
langa celelalte new adaugi
new nume;
la
public OnFilterScriptInit()
adaugi obiectele, iar poarta care vrei sa se miste o definesti pui in fata ei  ce ai pus la new nume; ex: nume = CreateObject(12....etc.. Adaugi la
public OnPlayerCommandText(playerid, cmdtext[])
{
asta    
if (strcmp(cmdtext, "/deschide", true)==0)
    {
        MoveObject(nume,coordonatele x y z (unde sa se deschida poarta), 6.5);
        SetTimer("numeClose", 2000, 0);
        SendClientMessage(playerid, COLOR_PINK,"Ai deschis poarta");
        return 1;
    } adaugi jos in script
public numeClose()
{
    MoveObject (nume,coordonatele x y z ale porti, 3.5);
    return 1;
}

Bafta!

Link to comment
Share on other sites

Am facut cum ai spus tu si am adaugat decat o poarta apoi cand sa o adaug pe a 2 mia dat 26 de erori cu PlayerToPoint leam sters si leam bagat din nou si acum imi da erorile astea:

D:\samp\GanGsta\Belive City\BlackPedia\gamemodes\BlackPedia.pwn(2443) : error 017: undefined symbol "cmdtext"

D:\samp\GanGsta\Belive City\BlackPedia\gamemodes\BlackPedia.pwn(2450) : error 017: undefined symbol "cmdtext"

Ce pot face va rog ajutatima

Link to comment
Share on other sites

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.