getting errors in irc....
#1

Код:
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3013) : error 035: argument type mismatch (argument 3)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3139) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3140) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3152) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3153) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3228) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3229) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3230) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3978) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(3979) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(4284) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(4285) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(4488) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(4489) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(4946) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(5303) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(5304) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(5431) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(5624) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(5628) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(5864) : error 035: argument type mismatch (argument 2)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(5990) : error 035: argument type mismatch (argument 1)
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(5994) : error 035: argument type mismatch (argument 1)
i get it in these kinds of commands.... its the line with the // infront...

pawn Код:
IRCCMD:jail(botid, channel[], user[], params[])
{
    if(canuseirccommand != 1) return false;
    new playerid;
    if(!IRC_IsOp(gGroupID,channel,user)) return false;
//  SetPlayerInterior(params, 6);
    SetPlayerPos(params, 264.6288,77.5742,1001.0391);
    JailTime[playerid] =300;
    JailTimeServed[playerid] =0;
    Jailed[playerid] =1;
    InAlcatraz[playerid] =1;
    return true;
}
Reply
#2

Did you forwarded?sorry but im not an expert on IRC!
Reply
#3

pawn Код:
SetPlayerInterior( strval( params ), 6 );
playerid is an integer, and params a string.
Use strval to convert a string into an integer.
Reply
#4

use if(sscanf(params, "u", playerid)

then SetPlayerInterior(playerid, 6);

Params should be strvaled.
Reply
#5

ktnx imma go test that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)