Function to return a string
#5

So it was run time error 4.

Assuming the first output was equal, it should've returned the value of a. You could set the owner field to null and then check:
pawn Code:
if (!isnull(Casa[a][dono]) && !strcmp(Casa[a][dono], name, true, MAX_PLAYE_NAME))
For better results on the output, use \"%s\" so we'll be able to clearly see the space(s).
Reply


Messages In This Thread
Function to return a string - by Fel486 - 21.04.2015, 19:40
Re: Function to return a string - by [KHK]Khalid - 21.04.2015, 20:43
Re: Function to return a string - by Konstantinos - 21.04.2015, 20:57
Re: Function to return a string - by Fel486 - 21.04.2015, 21:12
Re: Function to return a string - by Konstantinos - 21.04.2015, 21:24
Re: Function to return a string - by Fel486 - 21.04.2015, 21:33
Re: Function to return a string - by Konstantinos - 21.04.2015, 21:39
Re: Function to return a string - by Fel486 - 21.04.2015, 21:50

Forum Jump:


Users browsing this thread: 3 Guest(s)