03.06.2010, 20:52
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..
But i get these errors
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; } |
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" |