Jump to content
  • 0

/%s help...




folosesc si eu ryder race system...si as vrea sa fac asa daca se poate ca:

sa spunem incepe cursa numita sfrace(San Fierro Race)...mie imi scrie sa dau /joinrace ca sa intru in cursa, dar eu as vrea sa nu dau comanda /joinrace ci sa dau comada de intare in cursa cum se numeste cursa de ex: /sfrace si cand ii o alta cursa de ex:lvrace sau dau comanda /lvrace ca sa intru in ea...nu tot /joinrace...

Fara reclama in semnatura!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Pune cu Variabila, adica:

if( !strcmp( cmdtext, "/sfrace" ) )


      if( Race == 1 ) // SF Race


            // code code

      }else SendClientMessage( ... );


nu man...eu vreau ca comanda de join sa se schimbe dupa numele cursei cum am mai spus mai sus...:|

Fara reclama in semnatura!

Link to comment
Share on other sites

Sau fa asa, nu stiu daca merge dar poate :)):

//Pune sus in GM

new rCmd[ 100 ];

Acolo unde incepe race, bagi si tu cu daca e la SF, Race = 1; etc..

Si dupa( :> ):

if( Race == 1 ) rCmd = "/sfrace";


if( !strcmp( cmdtext, rCmd ) )



Link to comment
Share on other sites

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.