Hey Com,
Habe 4 Errors
if(!strcmp(cmd, "/hauskasse", true))
{
if(PlayerInfo[playerid][pHauskey] != 0)
{
if(PlayerHaus[PlayerInfo[playerid][pHauskey]][Guth] != 0)
{
new string1[128];
format(string1,sizeof(string1),"Du hast dir $%d aus der Hauskasse auszahlen lassen!",PlayerHaus[PlayerInfo[playerid][pHauskey]][Guth]);
new money = PlayerHaus[PlayerInfo[playerid][pHauskey]][Guth];
GivePlayerMoney(playerid,+money);
PlayerHaus[PlayerInfo[playeirid][pHauskey]][Guth] = 0;
return 1;
}
}
}
C:\Users\Christian\Desktop\Changeme\gamemodes\pixelrp.pwn(37927) : error 029: invalid expression, assumed zero
C:\Users\Christian\Desktop\Changeme\gamemodes\pixelrp.pwn(37927) : warning 215: expression has no effect
C:\Users\Christian\Desktop\Changeme\gamemodes\pixelrp.pwn(37927) : error 001: expected token: ";", but found ")"
C:\Users\Christian\Desktop\Changeme\gamemodes\pixelrp.pwn(37927) : error 029: invalid expression, assumed zero
C:\Users\Christian\Desktop\Changeme\gamemodes\pixelrp.pwn(37927) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Mfg