[Ajuda] Ajuda Stock
#2

A resposta jб estб no seu post.

PHP код:
stock Por10(param1)

    print(
"Multipliquei.");
    return 
param1 10;

PHP код:
CMD:5por10(playerid)
{
    
printf("5 vezes 10 й %d",Por10(5));
    return 
1;

PHP код:
stock MateTodos()
{
    new 
a;
    
    for(new 
iMAX_PLAYERS; ++i)
    {
        if(
IsPlayerConnected(i))
        {
            
SetPlayerHealth(i,0.0);
            
a++;
        }
    }
    return 
a;

PHP код:
CMD:morram(playerid)
{
    new 
players MateTodos();
    
printf("Matei %d players",players);
    return 
1;

Reply


Messages In This Thread
Ajuda Stock - by JhowWatkins - 25.08.2016, 21:57
Re: Ajuda Stock - by arakuta - 25.08.2016, 22:32
Re: Ajuda Stock - by JhowWatkins - 25.08.2016, 22:35
Re: Ajuda Stock - by arakuta - 25.08.2016, 22:36
Respuesta: Ajuda Stock - by SammyJ - 25.08.2016, 22:37
Re: Respuesta: Ajuda Stock - by JhowWatkins - 25.08.2016, 22:57
Respuesta: Re: Respuesta: Ajuda Stock - by SammyJ - 25.08.2016, 23:05
Re: Ajuda Stock - by JhowWatkins - 25.08.2016, 23:11
Re: Ajuda Stock - by arakuta - 25.08.2016, 23:18
Re: Ajuda Stock - by JhowWatkins - 25.08.2016, 23:26

Forum Jump:


Users browsing this thread: 2 Guest(s)