[SOLVED] Need help about Dini_Get
#3

pawn Код:
if(owner == PlayerName(playerid))
This is not how strings can be compared in Pawn, please use strcmp function (string compare), like so:

pawn Код:
if(strcmp(owner,PlayerName(playerid),true) == 0)
{
//This means its the same
}
Reply


Messages In This Thread
[SOLVED] Need help about Dini_Get - by spyr0x - 13.09.2009, 16:46
Re: [HELP] Need help about Dini_Get - by x-cutter - 13.09.2009, 16:55
Re: [HELP] Need help about Dini_Get - by JaTochNietDan - 13.09.2009, 16:56
Re: [HELP] Need help about Dini_Get - by spyr0x - 13.09.2009, 16:58

Forum Jump:


Users browsing this thread: 1 Guest(s)