/setname crashes the server
#5

what he said and in addition you should check whether the player who's name you want to change is actually connected (IsPlayerConnected) and you used "GetPlayerName(playerid,....)" whereas it should be "GetPlayerName(targetid,...)" as you want to have the name of the player you selected and not your own
so it would've changed your own name in the database and not the name of the player you selected :P
Reply


Messages In This Thread
/setname crashes the server - by DetoNater - 10.06.2013, 13:10
Re: /setname crashes the server - by Sascha - 10.06.2013, 13:58
Re: /setname crashes the server - by DetoNater - 10.06.2013, 16:03
Re: /setname crashes the server - by moadi - 10.06.2013, 18:23
Re: /setname crashes the server - by Sascha - 10.06.2013, 18:51

Forum Jump:


Users browsing this thread: 1 Guest(s)