18.03.2015, 11:40
Hey guys,
I am trying to create a stock function which returns the current mission, Well it is hard to explain, I am trying to attempt to create a function similar to that GetPlayerName, where in the Player's Name is stored to the assign string of that function.
However, i am having errors on doing so on my own one, Can someone help me? It gives me error.
I am trying to create a stock function which returns the current mission, Well it is hard to explain, I am trying to attempt to create a function similar to that GetPlayerName, where in the Player's Name is stored to the assign string of that function.
However, i am having errors on doing so on my own one, Can someone help me? It gives me error.
PHP код:
stock GetMission(const mission[], len)
{
switch(curMission)
{
case 0:
{
format(mission, len, "Minigun Madness");
}
}
return mission;
}