How can i check this?
#10

Quote:
Originally Posted by ******
Посмотреть сообщение
OK, I'm just going to stop you there. I don't know why the code isn't working, but it's not important - you can't restrict access to vehicles based purely on name. SA:MP has no global name registration, so anyone can join your server with any name, including "Torran", or any of the other specified names. To do this you need a full user system with password protected accounts - there are plenty of those available in the release sections, get one of those, integrate it, then come back to this issue.
He sent me some code via PM regarding the "Lend[]" array, it's just a single-thingy array (Array[]): new Lent[MAX_PLAYERS];.

in that code he had the following:
pawn Код:
format(Lent, Lent[playerid], "Torran0");
What obviously isn't going to work rofl.

I'm trying to get him a workaround now (Won't be too hard) but I agree what you say about name registration ^^.
Reply


Messages In This Thread
How can i check this? - by iTorran - 11.11.2010, 13:25
Re: How can i check this? - by JaTochNietDan - 11.11.2010, 13:35
Re: How can i check this? - by iTorran - 11.11.2010, 13:38
Re: How can i check this? - by JaTochNietDan - 11.11.2010, 13:40
Re: How can i check this? - by iTorran - 11.11.2010, 13:43
Re: How can i check this? - by JaTochNietDan - 11.11.2010, 13:44
Re: How can i check this? - by iTorran - 11.11.2010, 13:46
Re: How can i check this? - by iTorran - 11.11.2010, 14:44
Re: How can i check this? - by iTorran - 11.11.2010, 15:05
Re: How can i check this? - by Hiddos - 11.11.2010, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)