Szerző Téma: Re:I. FilterScriptem! [PARANCSOK]  (Megtekintve 492 alkalommal)

Nem elérhető BoOy

  • 3209
  • 2013-as év szkriptere
    • Profil megtekintése
Re:I. FilterScriptem! [PARANCSOK]
« Dátum: 2014. Július 27. - 12:15:10 »
0 Show voters
Idézetet írta: Szasza date=1406448799\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"49699\" data-ipsquote-contentclass=\"forums_Topic


Szia! Mivel az elsõ fs-ed adok egy \"+\"-t.
Ja és máskor használd a CMD-parancsfeldolgozót jobban átláthatóbb lesz a munkád ;)
a zcmd.inc link: http://www.solidfiles.com/d/879d1213462fc1562d16d464e90c8cf9/zcmd.inc
Teszt code!
 

#include <a_samp>
#include <zcmd>
CMD:tesztparancs(playerid,params[])
{
    SendClientMessage(playerid,-1,\"Sikeresen megírtál egy parancsott CMD-vel.\");
    return 1;
}

 

Ha nagyon okoskodni akarsz akkor ehhez a parancshoz így használtad volna:
 

#include <a_samp>
#include <zcmd>
CMD:tesztparancs(playerid)
{
    SendClientMessage(playerid,-1,\"Sikeresen megírtál egy parancsott CMD-vel.\");
    return 1;
}

 

[/quote]
:D
 
CMD:tesztparancs(playerid) return SendClientMessage(playerid,-1,\"Sikeresen megírtál egy parancsot!\");

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal