Problem With my registration system !
#6

I think that I've already told you this but i haven't explained it well.

You can't use PlayerName2(playerid) if you don't have it defined so you should either define/stock it or start replacing it with GetPlayerName .

If you decide to replace it this is how to make a stock do this:

pawn Код:
stock PlayerName2(id) // so you have an id argument where you put the wanted players ID when calling the function
{
    new name[16]; // here you're making the empty string where you'll store a players name
    GetPlayerName(id, name, sizeof(name)); // here you're storing it
    return name; // sending player's name as a return
}
and i've already explained replacing it: http://forum.sa-mp.com/showpost.php?...88&postcount=4

Reply


Messages In This Thread
Problem With my registration system ! - by Knowinne - 21.10.2016, 14:12
Re: Problem With my registration system ! - by SyS - 21.10.2016, 14:19
Re: Problem With my registration system ! - by Knowinne - 21.10.2016, 14:20
Re: Problem With my registration system ! - by Knowinne - 21.10.2016, 14:45
Re: Problem With my registration system ! - by Knowinne - 21.10.2016, 15:12
Re: Problem With my registration system ! - by RockyGamer - 21.10.2016, 15:14
Re: Problem With my registration system ! - by Knowinne - 21.10.2016, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)