SA-MP Forums Archive
Help with whirlpool - 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)
+--- Thread: Help with whirlpool (/showthread.php?tid=531516)



Help with whirlpool - prooftzm - 13.08.2014

Hi all. I follow this tutorial https://sampforum.blast.hk/showthread.php?tid=352703 for making a register system with whirlpool. But when i compile, i have a problem:

C:\Users\Cristi\Desktop\serverul meu\gamemodes\C-Zone.pwn(72) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\Cristi\Desktop\serverul meu\gamemodes\C-Zone.pwn(72) : error 029: invalid expression, assumed zero
C:\Users\Cristi\Desktop\serverul meu\gamemodes\C-Zone.pwn(72) : error 029: invalid expression, assumed zero
C:\Users\Cristi\Desktop\serverul meu\gamemodes\C-Zone.pwn(72) : fatal error 107: too many error messages on one line

Line 72:
pawn Код:
INI_String("Password", pInfo[playerid][pPass],129);
wtf is wrong?


Re: Help with whirlpool - Faisal_khan - 13.08.2014

This, "(not an array or too many subscripts): "pInfo"". Show us the array.


Re: Help with whirlpool - prooftzm - 13.08.2014

pawn Код:
enum pInfo
{
    pPass[129],
    pCash,
    pAdmin,
    pKills,
    pDeaths,
    pJob,
    pSleep,
    pRP,
    pLevel,
    pBan,
    pSkin,
    pFaction
   
};
new PlayerInfo[MAX_PLAYERS][pInfo];



Re: Help with whirlpool - prooftzm - 13.08.2014

No i got it. BTW thx man


Re: Help with whirlpool - prooftzm - 13.08.2014

Sh!t happens. It works to compile it, but when i open the samp-server: [23:58:52] Script[gamemodes/C-Zone.amx]: Run time error 19: "File or function is not found"


Re: Help with whirlpool - prooftzm - 13.08.2014

Someone can help me pls?


Re: Help with whirlpool - MacT - 13.08.2014

Run time error 19: "File or function is not found" that usually mean gm dont have plugin.
ou need add plugin to plugins.
Whirlpool:https://sampforum.blast.hk/showthread.php?tid=65290


Re: Help with whirlpool - Faisal_khan - 13.08.2014

Run nativechecker plugin.


Re: Help with whirlpool - MicroD - 13.08.2014

Hm maybe you did not add it in server.cfg properly, show us server.cfg?


Re: Help with whirlpool - prooftzm - 13.08.2014

SOLVED! https://sampforum.blast.hk/showthread.php?tid=531582 help me here pls. i really don't how i need to do.