Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock GetPlayerPartName(playerid) // Zume
- {
- new
- x,
- name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, MAX_PLAYER_NAME);
- while(x < strlen(name)){
- if(name[x] == '_'){
- strdel(name, x, MAX_PLAYER_NAME);
- return name;
- }
- x++;
- }
- return name;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement