31.05.2013, 07:25
Hi, I got this problem:
But, everything I try give other warnings.
When I add an extra ) to the GetPlayerPos(playerid, x, y, z));
I get the following:
pawn Код:
SA-MP Server\gamemodes\DRP.pwn(412) : error 001: expected token: ",", but found ";"
pawn Код:
gPlayerLogged[playerid] = 1;
PlayerInfo[playerid][pAdminLevel] = dini_Int(file, "AdminLevel");
GivePlayerMoney(playerid, dini_Int(file, "Money")-GetPlayerMoney(playerid));
SetPlayerPos(playerid, dini_Float(file, "Position")-GetPlayerPos(playerid, x, y, z);
SendClientMessage(playerid, COLOR_YELLOW, "You have succesfully logged in!");
I get the following:
pawn Код:
SA-MP Server\gamemodes\DRP.pwn(412) : warning 202: number of arguments does not match definition
SA-MP Server\gamemodes\DRP.pwn(412) : warning 202: number of arguments does not match definition