[SOLVED] dudb
#1

dUserSetINT(PlayerName(id)).("BannedBy",PlayerName (playerid));

doesn't work:

[error] C:\server\gamemodes\beta.pwn(301) : error 035: argument type mismatch (argument 3)

same with:

dUserSetINT(PlayerName(id)).("Banned",reason);
Reply
#2

dUserSetINT(PlayerName(id)).("BannedBy",PlayerName(playerid)) ;

Your trying to set a string as an integer

Try: dUserSet(PlayerName(id)).("BannedBy",PlayerName(pl ayerid));
Reply
#3

thank you, that worked out
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)