SA-MP Forums Archive
help problem with, script? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help problem with, script? (/showthread.php?tid=244493)



help problem with, script? - nickolas12 - 27.03.2011

i have problem my script anyone help please


Re: help problem with, script? - wheelman_WM - 27.03.2011

show us the code


Re: help problem with, script? - [ProX]BlueFire - 27.03.2011

post ur script here...
no script/lines = no help


Re: help problem with, script? - nickolas12 - 27.03.2011

ok add email on mirabilis, nickolas12@pashian.ci.ik

code:

if(strcmp(cmdtext,"/mashi",false)) == 0)
{
format(strcmp(cmdtext,"/mashi",false)) == 0),"%s",cmdtext));
SendClientMessage(playerid,rosa,strcmp(cmdtext,"/mashi",false)) == 0));
return 1;
}


Re: help problem with, script? - [ProX]BlueFire - 27.03.2011

Quote:
Originally Posted by nickolas12
Посмотреть сообщение
ok add email on mirabilis, nickolas12@pashian.ci.ik

code:

if(strcmp(cmdtext,"/mashi",false)) == 0)
{
format(strcmp(cmdtext,"/mashi",false)) == 0),"%s",cmdtext));
SendClientMessage(playerid,rosa,strcmp(cmdtext,"/mashi",false)) == 0));
return 1;
}
1) what it should do?
2)errors?


Re: help problem with, script? - nickolas12 - 27.03.2011

make when player only type /mashi game message with everyone says "name start /mashi, start /mashi to play


Re: help problem with, script? - [ProX]BlueFire - 27.03.2011

still dont know what u talking about -.-"
u mean u want to make a gametext for all then it will say:" type /mashi to join the event!"?
if yes u can do this:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/startmoshi", cmdtext, true, 10) == 0)
    {
        GameTextForAll("~r~the event has started! ~n~~y~type ~r~/moshi ~y~to join the event!", 5000, 3);
        return 1;
    }
    return 0;
}



Re: help problem with, script? - nickolas12 - 27.03.2011

i get error that script


Re: help problem with, script? - nickolas12 - 28.03.2011

i error from script please fix


Re: help problem with, script? - Mr_Scripter - 28.03.2011

Show me the error