Small Help here..
#1

The Error is

PHP код:
J:\Ultimate Kerala Gaming!!\pawno\include\sscanf2.inc(199) : warning 219local variable "name" shadows a variable at a preceding level
J
:\Ultimate Kerala Gaming!!\Fort Carison (Sa-Mp )\gamemodes\thefort.pwn(896) : error 012invalid function callnot a valid address
J
:\Ultimate Kerala Gaming!!\Fort Carison (Sa-Mp )\gamemodes\thefort.pwn(896) : warning 215expression has no effect
J
:\Ultimate Kerala Gaming!!\Fort Carison (Sa-Mp )\gamemodes\thefort.pwn(896) : error 001expected token";"but found ")"
J:\Ultimate Kerala Gaming!!\Fort Carison (Sa-Mp )\gamemodes\thefort.pwn(896) : error 029invalid expressionassumed zero
J
:\Ultimate Kerala Gaming!!\Fort Carison (Sa-Mp )\gamemodes\thefort.pwn(896) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors



The Code Is

pawn Код:
if(Spree[killerid] == 5)//Checking for 5 kills
    {
        format(zstring, sizeof(zstring), "%s is on a killing spree of %d kills. Junior Killer!", Name(killerid), Spree[killerid]);
        SendClientMessageToAll(blue, zstring);
        SendClientMessage(killerid, green, "You are on a killing spree of 5 kills. +4 score");
        SetPlayerScore(killerid, GetPlayerScore(killerid)+4);
    }
    else if(Spree[killerid] == 10)//For 10 kills
    {
        format(zstring, sizeof(zstring), "%s is on a killing spree of %d kills. Senior Killer!", Name(killerid), Spree[killerid]);
        SendClientMessageToAll(blue, zstring);
        SendClientMessage(killerid, green, "You are on a killing spree of 10 kills. +8 score");
        SetPlayerScore(killerid, GetPlayerScore(killerid)+8);
    }
    else if(Spree[killerid] == 15)//30 kills
    {
        format(zstring, sizeof(zstring), "%s is on a killing spree of %d kills. Master Killer!", Name(killerid), Spree[killerid]);
        SendClientMessageToAll(blue, zstring);
        SendClientMessage(killerid, green, "You are on a killing spree of 15 kills. +12 score");
        SetPlayerScore(killerid, GetPlayerScore(killerid)+12);
    }
Reply
#2

I think you are using 2 stocks of name. So by adding the second one to something like name2. or show your stock for name
Reply
#3

here it is
Reply
#4

Quote:
Originally Posted by forgottenkings
Посмотреть сообщение
here it is
Can you show the (stock for name)

Do search for it doing ctrl+f then type stock name

Can you please show the line for 896

EDIT: Okay no problem.
Reply
#5

Changed The Stock name

Anyway Tnx its Fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)