ReturnCarOwnerName
#1



HELP
Reply
#2

help
Reply
#3

In that ReturnCarOwner use "None", instead of ' '
Reply
#4

Quote:
Originally Posted by ikey07
Посмотреть сообщение
In that ReturnCarOwner use "None", instead of ' '

Reply
#5

pawn Код:
static Owner[MAX_PLAYER_NAME];
Owner = "NONE";
and change
pawn Код:
return Mycar[i][CarOwnerName];
to

pawn Код:
strcat((Owner[0] = EOS, Owner), Mycar[i][CarOwnerName]);
break;
+
pawn Код:
return Char;
to
pawn Код:
return Owner;
Reply
#6

Quote:
Originally Posted by Jefff
Посмотреть сообщение
pawn Код:
static Owner[MAX_PLAYER_NAME];
Owner = "NONE";
and change
pawn Код:
return Mycar[i][CarOwnerName];
to

pawn Код:
strcat((Owner[0] = EOS, Owner), Mycar[i][CarOwnerName]);
break;
+
pawn Код:
return Char;
to
pawn Код:
return Owner;

thanks for helping but i still get declaration error


=======================================

Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)