Enums and Strings
#4

Quote:
Originally Posted by cosbraa
Посмотреть сообщение
string compare - strcmp


pawn Код:
GetPlayerName(playerid, pName, MAX_PLAYER_NAME)
if(!strcmp(VehicleCheck[vehicleid][STRINGVARIABLE], pName, true)){
DOH!

That makes sense, will try that when I get home and post the results

@PrawkC isnt this what you mean:

Код:
GetPlayerName(playerid, pName, MAX_PLAYER_NAME)
if(VehicleCheck[vehicleid][STRINGVARIABLE] == pName){
Reply


Messages In This Thread
Enums and Strings - by adsy - 07.11.2012, 11:13
Re: Enums and Strings - by cosbraa - 07.11.2012, 11:25
Re: Enums and Strings - by PrawkC - 07.11.2012, 11:56
Re: Enums and Strings - by adsy - 07.11.2012, 11:59
Re: Enums and Strings - by cosbraa - 07.11.2012, 12:01

Forum Jump:


Users browsing this thread: 2 Guest(s)