25.08.2016, 22:32
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 i; i < MAX_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;
}