Jump to content
  • 0

Problema comanda !


CristyRo

Question

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[])

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

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)

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.