[Help!] Error 035: argument type mismatch (argument 2)
#6

pawn Код:
YCMD:starttrucking(playerid, params[], help)
{
    #pragma unused params
    #pragma unused help
    new string[128];
    format(string, sizeof(string), "CB Radio: Well, get che' a truck from ye' ol' HQ!");
    SendClientMessage(playerid, COLOR_GREEN, string);
    format(string, sizeof(string), "Head to the Truckers HQ in Dillimore.");
    GameTextForPlayer(playerid, string, 3000, 4);
    SetPlayerCheckpoint(playerid, 807.3625,-610.1833,16.3359, 3.0);
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    DisablePlayerCheckpoint(playerid);
    format(string, sizeof(string), "CB Radio: Eh, you've made it. Choose a truck.");
    SendClientMessage(playerid, COLOR_GREEN, string);
    return 1;
}
Try that.

Edit: Try what the above said first.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)