Capitalizing 1st letters of First, and last name... ? Firstname_Lastname
#9

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
pawn Код:
#define toupper(%0) \
    (((%0) >= 'a' && (%0) <= 'z') ? ((%0) & ~0x20) : (%0))

#define tolower(%0) \
    (((%0) >= 'A' && (%0) <= 'Z') ? ((%0) | 0x20) : (%0))
By ******, have you already been using this?
Urrr..
pawn Код:
toupper(NewName[0][0]);
    toupper(NewName[1][0]);
And I get
Код:
C:\Users\Connor\Dropbox\RC6\gamemodes\wl-rp.pwn(3957) : warning 215: expression has no effect
C:\Users\Connor\Dropbox\RC6\gamemodes\wl-rp.pwn(3958) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)