Jump to content
  • 0

O eroare ma seaca de 2 ore


Guest robybr

Question

Guest robybr

salut!am vazut tutorialele pe aici si m-am decis sa fac si pt modul meu ceva... si am vrut sa bag un pickup si cand scrii /sd sa te dea la mare inaltime si cu parasuta...bun pana aici...am facut tot dar cand am vrut sa fac textul cand intrii in pickup sa iti arate de ex: ~y~De aici poti sari cu parasuta.~n~ Scrie /sd imi da niste erori de ma seaca ...care stie ce tre sa fac sa ma ajute raman dator vandut :((

Erorile :

C:\Documents and Settings\RreloadedD\Desktop\New Folder (2)\server samp\server samp\gamemodes\gtarp.pwn(5787) : error 055: start of function body without function header

C:\Documents and Settings\RreloadedD\Desktop\New Folder (2)\server samp\server samp\gamemodes\gtarp.pwn(5788) : error 010: invalid function or declaration

C:\Documents and Settings\RreloadedD\Desktop\New Folder (2)\server samp\server samp\gamemodes\gtarp.pwn(5792) : error 010: invalid function or declaration

Liniile:

{

    if ( pickupid == parasuta )

{

      GameTextForPlayer(playerid, "~y~De aici poti sari cu parasuta .~n~ Scrie ~r~/sd", 5000, 3);

}

return 1;

}

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

pui } si { complet aiurea

ti-am refacut eu functia OnPlayerPickupPickup:

public OnPlayerPickupPickup(playerid, pickupid)
{
    if(pickupid == licenses)
    {
        GameTextForPlayer(playerid,"~y~You can buy licenses here.~n~Type  ~r~/buylic",5000,3);
    }
    if(pickupid == licenses)
    {
        GameTextForPlayer(playerid,"~y~De aici poti sari cu parasuta. ~n~Scrie ~r~/sd",5000,3);
    }
    return 1;
}
copiaza asta si pune-o in locul la OnPlayerPickupPickup al tau. Ce nu-si avea rostul:
}
{
de dinaintea la
if(pickupid == licenses)

PS: Ganditi inainte sa puneti { si } ;)

Link to comment
Share on other sites

Guest robybr

un butoi cu vin de la mn pt tn

sa il stapanesti sanatos

SARU'MANA

MULTUMESC

THANK YOU

MERCI BEAUCOUP

DANKE

GRATZIE

GRACIAS

PS:Puteti inchide topicul.Love Sa-mp.ro :X

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.