Stock Function
#1

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.

PHP код:
stock GetMission(const mission[], len)
{
    switch(
curMission)
    {
        case 
0:
        {
            
format(missionlen"Minigun Madness");
        }
    }
    return 
mission;

Reply


Messages In This Thread
Stock Function - by JaKe Elite - 18.03.2015, 11:40
AW: Stock Function - by Kaliber - 18.03.2015, 11:47
Re: Stock Function - by JaKe Elite - 18.03.2015, 11:49

Forum Jump:


Users browsing this thread: 1 Guest(s)