Jump to content
  • 0

Problema comanda !


Question

Posted

Deci am o problema de la comanda /dos(Ding on Shot)

CMD:dos(playerid,cmdtext[])
{
	if IsPlayerInRangeOfPoint(player,float:range,float:X,float:y,float:z);
	SendClientMessage(player,FF0000,Ding On Shot acctivated[]);
    PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
Imi da erorile astea
C:\Users\Sebastian\Desktop\RSE\filterscripts\Untitled6.pwn(93) : error 029: invalid expression, assumed zero
C:\Users\Sebastian\Desktop\RSE\filterscripts\Untitled6.pwn(93) : error 017: undefined symbol "cmd_dos"
C:\Users\Sebastian\Desktop\RSE\filterscripts\Untitled6.pwn(93) : error 029: invalid expression, assumed zero
C:\Users\Sebastian\Desktop\RSE\filterscripts\Untitled6.pwn(93) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

La linia 93 este CMD:dos(playerid,cmdtext[])

7 answers to this question

Recommended Posts

Posted

E toata comanda? Sa iti zic ceva, mai bine lasate de scripting :|

Daca nu stii cum se foloseste nu mai folosi.

CMD:dos(playerid,cmdtext[])

{

    if(IsPlayerInRangeOfPoint(playerid,float:range,float:X,float:y,float:z)) // aici pui tu coordonatele.

    {

    SendClientMessage(playerid,0xFF0000FF, "Ding On Shot acctivated[]");

    PlayerPlaySound(playerid,17802,0.0,0.0,0.0);

    }

    return 1;

}

35012l1.png.aee1a3398b9bd9f8eec50574d2cd

Posted

Asta e toata

CMD:dos(playerid,cmdtext[])
{
	if IsPlayerInRangeOfPoint(player,float:range,float:X,float:y,float:z);
	SendClientMessage(player,FF0000,Ding On Shot acctivated[]);
    PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
    return 1;
}

Posted

Macar ai citit tot ce am scris? Oricum nu va merge sa tragi si sa se auda acel sunet, dupa cum am spus nici macar nu ai stiut sa scrii ai dat copy paste aiurea.

35012l1.png.aee1a3398b9bd9f8eec50574d2cd

Posted

Buna ziua CristyRo

Cea ce vrea sa iti explice "[XSR]NexT." este ca tu trebuie sa modifici in comanda linia cu "(player,float:range,float:X,float:y,float:z);

".Trebuie sa inlocuiesti acele "float" cu coordonatele tale.Din cate poti vedea ai in comanda "if IsPlayerInRangeOfPoint"(Daca player-ul este in raza respectiva) asa ca trebuie sa specifici si coordonatele.In ce raza doresti tu sa poate da /dos.

Sper ca ti-am fost de folos.

[Pawn]/Onica Razvan

Pentru suport nu ezitati sa ma contactati printr-un mesaj privat sau un mesaj pe Y/M.(Scripting sa:mp/cs,ScripturiWEB,phpbb,mysql,ipb,photoshop,html)

Posted

Am rezolvat trebuia implementata altundeva dar mai am o eroare (2324) : error 017: undefined symbol "range"(rezolvat tot dati T/C trebuia sa ii fac variabila)

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.