[Tutorial] Usando ZMCD Com e sem sscanf
#10

Hб erros no tutorial.


pawn Code:
CMD:pegargrana(playerid, params[])
{
    new String[128], playername[25];
    if(isnull(params))
        return SendClientMessage(playerid, -1, "Use: /pegargrana quantia");
    GivePlayerMoney(playerid, params);
    GetPlayerName(playerid, playername, sizeof(playername));
    format(String, sizeof(String), "Vocк %s te deu %d de dinheiro", UsadorDoComando, params);
    SendClientMessage(playerid, -1, String);
    return 1;
}

Tente compilar isto.
Reply


Messages In This Thread
Usando ZMCD Com e sem sscanf - by Wellington1999 - 03.10.2013, 00:44
Re: Usando ZMCD Com e sem sscanf - by Juniiro3 - 03.10.2013, 00:53
Re: Usando ZMCD Com e sem sscanf - by Wellington1999 - 03.10.2013, 00:53
Respuesta: Usando ZMCD Com e sem sscanf - by DanDRT - 03.10.2013, 00:54
Re: Usando ZMCD Com e sem sscanf - by WLSF - 03.10.2013, 00:55
Re: Usando ZMCD Com e sem sscanf - by zSuYaNw - 03.10.2013, 01:12
Respuesta: Re: Usando ZMCD Com e sem sscanf - by DanDRT - 03.10.2013, 01:16
Re: Usando ZMCD Com e sem sscanf - by Wellington1999 - 03.10.2013, 01:17
Re: Usando ZMCD Com e sem sscanf - by F1N4L - 03.10.2013, 01:27
Re: Usando ZMCD Com e sem sscanf - by zPain - 03.10.2013, 02:32

Forum Jump:


Users browsing this thread: 1 Guest(s)