Score.??
#1

Hello, i want to make a score for Zombies and Humans i use this
but i get error, i don't know what to do..

Quote:

new pHumanScore;
new pZombieScore;


public OnPlayerDeath(playerid, killerid, reason)
{
if(pZombie[playerid] == 1) {
pHumanScore = +1;
}
if(pHuman[playerid] == 1) {
pZombieScore = +1;
}

return 1;
}

But i get these errors
Quote:

C:\Users\-\Desktop\Server\gamemodes\ZombieOutbreak.pwn(82) : error 029: invalid expression, assumed zero
C:\Users\-\Desktop\Server\gamemodes\ZombieOutbreak.pwn(82) : warning 215: expression has no effect
C:\Users\-\Desktop\Server\gamemodes\ZombieOutbreak.pwn(85) : error 029: invalid expression, assumed zero
C:\Users\-\Desktop\Server\gamemodes\ZombieOutbreak.pwn(85) : warning 215: expression has no effect
C:\Users\-\Desktop\Server\gamemodes\ZombieOutbreak.pwn(82) : warning 204: symbol is assigned a value that is never used: "pHumanScore"
C:\Users\-\Desktop\Server\gamemodes\ZombieOutbreak.pwn(85) : warning 204: symbol is assigned a value that is never used: "pZombieScore"

Reply


Messages In This Thread
Score.?? - by Ihsan_Cingisiz - 03.06.2010, 20:52
Re: Score.?? - by Conroy - 03.06.2010, 20:53
Re: Score.?? - by Ihsan_Cingisiz - 03.06.2010, 20:55

Forum Jump:


Users browsing this thread: 1 Guest(s)