Help with whirlpool
#1

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?
Reply
#2

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

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

No i got it. BTW thx man
Reply
#5

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"
Reply
#6

Someone can help me pls?
Reply
#7

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
Reply
#8

Run nativechecker plugin.
Reply
#9

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)