14.12.2015, 19:25
Any idea how to script a /my command where, if a player's name ends with the letter 's', there would just be a single apostrophe at the end, instead of (i.g): Izador_Os's, it would be: Izador_Os'.
#define Player Stats YCMD:my(playerid,params[]) { new string2[200]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string2,sizeof(string2),"Name: %ss'",name); ShowPlayerDialog(playerid,Stats,DIALOG_STYLE_MSGBOX,"Player Stats",string2,"Close",""); return 1; }