Ch1NeZu Posted August 18, 2010 Report Share Posted August 18, 2010 Sal incerc sa fac un filterscript si imi dau niste erori groaznice...ma puteti ajuta sa le rezolv ?C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(157) : error 033: array must be indexed (variable "-unknown-") C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(165) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(196) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(241) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(269) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(312) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(340) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(340) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(368) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(368) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(435) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(504) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(556) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(598) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(613) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(636) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(663) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(684) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(685) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(687) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(690) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(694) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(695) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(713) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(714) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(716) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(719) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(723) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(724) : error 017: undefined symbol "giveplayerid" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. public OnPlayerCommandText(playerid, cmdtext[]) { new idx; new cmd=strtok(cmdtext, idx); //<--- Linia 157 //------------------------------------------[Helper Chat]------------------------------------------------------------- if(strcmp(cmd, "/hc", true) == 0 || strcmp(cmd, "/hchat", true) == 0) //---> linia 165 { if(strcmp(cmd, "/hsay", true) == 0) //--> linia 196 { if(IsPlayerConnected(playerid)) {Si cum definesc giveplayerid???Etc... nare rost sa le postez pe toate ca daca ma ajutati sa le rezolv pastea poate imi dau singur seama si le rezolv pe toate Samp.OnlyPro.ro - RolePlay - Join Us ! Link to comment Share on other sites More sharing options...
mihai97 Posted August 18, 2010 Report Share Posted August 18, 2010 pai incearca sa pui in loc de cmd cmdtext peste tot. Link to comment Share on other sites More sharing options...
-=[Vyorel]=- Posted August 18, 2010 Report Share Posted August 18, 2010 pai incearca sa pui in loc de cmd cmdtext peste tot.Mai bine nu postati.public OnPlayerCommandText(playerid, cmdtext[]){ new tmp[128], string[128], cmd[128], idx, giveplayerid, sendername, giveplayer; new idx; new cmd=strtok(cmdtext, idx); //restu ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez. Link to comment Share on other sites More sharing options...
Ch1NeZu Posted August 18, 2010 Author Report Share Posted August 18, 2010 C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(157) : error 021: symbol already defined: "idx" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(158) : error 021: symbol already defined: "cmd" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(158) : error 033: array must be indexed (variable "-unknown-") C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(160) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(164) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(164) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(191) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(197) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(197) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(236) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(264) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(285) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(285) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(286) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(286) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(307) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(335) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(335) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(363) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(363) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(430) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(499) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(533) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(533) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(551) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(571) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(571) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(572) : error 035: argument type mismatch (argument 2) Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.uite vyorel tot script-ul ca oricum il postam aici dupa ce il terminamhttp://www.solidfiles.com/d/33869/ Samp.OnlyPro.ro - RolePlay - Join Us ! Link to comment Share on other sites More sharing options...
LaZ Posted August 18, 2010 Report Share Posted August 18, 2010 =-" post="38081" timestamp="1282119307"]public OnPlayerCommandText(playerid, cmdtext[]) { new tmp[128], string[128], cmd[128], idx, giveplayerid, sendername, giveplayer;...Presupun ca sendername sau/si giveplayer ii un string pe care-l folosesti in GetPlayerName.sendername[ 20 ], giveplayer[ 20 ]. Link to comment Share on other sites More sharing options...
Ch1NeZu Posted August 18, 2010 Author Report Share Posted August 18, 2010 ... uitate in script ca lam pus sa il downloadati inafara de already defined si loose indentification celelalte errori sunt noi pentru mine.... daia vam cerut ajutorul asa mult Samp.OnlyPro.ro - RolePlay - Join Us ! Link to comment Share on other sites More sharing options...
Question
Ch1NeZu
Sal incerc sa fac un filterscript si imi dau niste erori groaznice...ma puteti ajuta sa le rezolv ?
Si cum definesc giveplayerid???
Etc... nare rost sa le postez pe toate ca daca ma ajutati sa le rezolv pastea poate imi dau singur seama si le rezolv pe toate
Samp.OnlyPro.ro - RolePlay - Join Us !
Link to comment
Share on other sites
5 answers to this question
Recommended Posts