29.04.2015, 15:29
first you shouldn't use RPName(playerid) in textdrawcreate remove it and %s
if you want to set it string like:
you can put it every where you want like onplayerconnect or onplayerspawn
if you want to set it string like:
you can put it every where you want like onplayerconnect or onplayerspawn
PHP код:
new string[128];
format(string,sizeof(string),"%s",RPName(playerid));
TextDrawSetString(Textdraw2, string);