How to do this?
#1

Is this possible if yes, could you show me how?

By changing many text by 1 define line

lets say this is the define line

pawn Код:
#define TEST "SAMP"
then this line will automaticly changed to SAMP

pawn Код:
format(string,sizeof(string),"TEST Member: %s has joined",PlayerName(playerid));
The test will be changed to samp?
Reply
#2

pawn Код:
format(string,sizeof(string),"%s Member: %s has joined",TEST, PlayerName(playerid));
Try that.
Reply
#3

This should work

pawn Код:
format(string,sizeof(string),TEST" Member: %s has joined",PlayerName(playerid));
Reply
#4

Okay, I see

Which one would be more efficent and better?

Austin or MadeMan?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)