04.01.2018, 14:06
Suppose I have a command /pmspy. But now, I want to create /pspy.
So if I do something like this:
I'm going to have to initialize pspy somewhere otherwise pawno says
My question is: where do I initialize it?
So if I do something like this:
Code:
for (new i=0; i<MAX_PLAYERS; i++) { if(playerData[i][playerLevel] >= 4) { if(playerData[i][pspy]) { new spyText[200]; format(spyText, sizeof(spyText), "{3E7EFF}[Police Radio Spy]: {FFFFFF}%s", message); SendClientMessage(i, COLOR_WHITE, spyText); } } }
Code:
undefined symbol: "pspy"