18.03.2015, 11:47
If you want sth like GetPlayerName, do it like this:
But if you want the direct string, you can do this:
Greekz
Код:
stock GetMission(mission[], len) { switch(curMission) { case 0: format(mission, len, "Minigun Madness"); } return 1; }
PHP код:
stock GetCurMission() {
new string[32];
switch(curMission) {
case 0: string = "Minigun Madness";
}
return string;
}
//and then:
printf("Current Mission: %s",GetCurMission());