Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local name = getPlayerName(playerid);
- local found = 0;
- for(local i = 0; i < name.len(); i++)
- {
- if(string[i] == '_')
- {
- found = 1;
- break;
- }
- }
- if(!found)
- {
- // An '_' was not found in their name
- // Do somthing here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement