SA-MP Forums Archive
Please Help ? - 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: Please Help ? (/showthread.php?tid=81246)



Please Help ? - eden78 - 09.06.2009

if(TriesOptions[rand][0] == "sucsess")
{
TogglePlayerControllable(playerid,1);
}

i did this in the mode , and its doing this error :
"C:\Documents and Settings\Eden78\щемзп дтбегд\RP.pwn(3010) : error 033: array must be indexed (variable "-unknown-")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

somebody can help me to fix that ?



Re: Please Help ? - MPKaboose - 09.06.2009

Wrong topic
pawn Код:
if(strfind(TriesOptions[rand][0],"sucsess")==true)
{
  TogglePlayerControllable(playerid,1);
}
maybe this helps



Re: Please Help ? - eden78 - 09.06.2009

not working .. its doing a warning: Tag Dismistake or something like this .


Re: Please Help ? - eden78 - 09.06.2009

sorry for the double , i fixed this .
you can lock


Re: Please Help ? - MPKaboose - 09.06.2009

pawn Код:
if(strfind(TriesOptions[rand][0],"sucsess",true)==true)
{
  TogglePlayerControllable(playerid,1);
}
I forgot something sorry


Re: Please Help ? - Abernethy - 09.06.2009

Just for the record, It's spelt "Success" lol.