C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\SCRIPT BY ACRIO.pwn(338) : warning 215: expression has no effect
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\SCRIPT BY ACRIO.pwn(339) : warning 215: expression has no effect
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\SCRIPT BY ACRIO.pwn(346) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\SCRIPT BY ACRIO.pwn(370) : error 001: expected token: ";", but found "-identifier-"
hier die warnings
PlayerInfo[playerid][pLevel]; <--- warning
PlayerInfo[playerid][pMoney];<--- warning
hier die fehler
SpawnPlayer(playerid);<--- error
SetPlayerScore(playerid,PlayerInfo[playerid][pLevel]);
GivePlayerMoney(playerid,PlayerInfo[playerid][pMoney]);
SetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
format(str, sizeof(str), "Willkommen zurück %s", GetPlayerNameEx(playerid));
SendClientMessage(playerid,Gelb,str);
}
else
{
SendClientMessage(playerid,Rot,"Das war das falsche Passwort!!");
Kick(playerid);
}
return 1;
}
public OnPlayerSave(playerid)
{
format(str,sizeof(str),"Accounts\\%s.ini",GetPlayerNameEx(playerid));
SaveString("Account","Password",PlayerInfo[playerid][pPassword],str);
SaveInteger("Account","Level",PlayerInfo[playerid][pLevel],str);
SaveInteger("Account","Money",PlayerInfo[playerid][pMoney],str);
new Float:X,Float:Y,Float:Z
GetPlayerPos(playerid,X,Y,Z);<--- error