PPC Housing LuxAdmin
#1

Hello, trying to get ppc housing work with luxadmin, gives me those errors in this line
Quote:

return APlayerData[playerid][PlayerMoney];

Quote:

C:\Users\Vidme\Desktop\servassasda\filterscripts\L uxAdmin.pwn(199) : error 017: undefined symbol "APlayerData"
C:\Users\Vidme\Desktop\servassasda\filterscripts\L uxAdmin.pwn(199) : warning 215: expression has no effect
C:\Users\Vidme\Desktop\servassasda\filterscripts\L uxAdmin.pwn(199) : error 001: expected token: ";", but found "]"
C:\Users\Vidme\Desktop\servassasda\filterscripts\L uxAdmin.pwn(199) : error 029: invalid expression, assumed zero
C:\Users\Vidme\Desktop\servassasda\filterscripts\L uxAdmin.pwn(199) : fatal error 107: too many error messages on one line

Reply
#2

heelp
Reply
#3

What is APlayerData i mean what does it does?
Reply
#4

get player data scriptfiles/Accounts. i think
It it needed to be put in my admin filterscript, so if anyone bought a house it would take money from the scriptfiles/admin/accounts
Reply
#5

anyone?
Reply
#6

You can find something similar to this in your script

Example:
pawn Код:
enum PlayerData
{
    Name[24],
    Password[50]
}
new pInfo[MAX_PLAYERS][PlayerData];
So you need to replace APlayerData with pInfo[playerid] blabla
Reply
#7

There's no pInfo in the script
Reply
#8

I didn't say exactly the same as pInfo, it was an example. There should be something SIMILAR to it. There should be an enumerator to hold the player's data. Search for it and replace APlayerData with it.
Reply
#9

there's something like it, but i'm not sure
Quote:

new AccInfo[MAX_PLAYERS][PlayerData],
ServerInfo[ServerData],
AdmRank[128],
AdmDuty[128],
AccType[128],
ServerLockPass[128],
BadWords[100][100], BadWordsCount = 0,
Float:Pos[MAX_PLAYERS][4],
Chat[MAX_CHAT_LINES][128],
PingTimer,
GodTimer,
BlockedPartName[100][100], BlockedPartNameCount = 0,
Float:LPosX[MAX_PLAYERS],
Float:LPosY[MAX_PLAYERS],
Float:LPosZ[MAX_PLAYERS],
PingPos,
IsDisable[MAX_PLAYERS],
pColor;

Reply
#10

Try replacing APlayerData with AccInfo and check if that works.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)