Strcat help
#1

can anyone explain to me how strcat works?
Reply
#2

Well basically, you have a string, and you add other parts to that string. Ex
new str[50];
format(str,sizeof(str),"Id is: %d",playerid)
strcat(str," and this piece is added later");

Output should be: Id is 32 and this piece is added later..
Reply
#3

Quote:
Originally Posted by return0
Посмотреть сообщение
Output should be: Id is 32 and this piece is added later..
Not if your ID is 0.

https://sampwiki.blast.hk/wiki/Strcat
Reply
#4

ok,thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)