[Ajuda]Denovo, ajuda rapida
#9

public OnGameModeInit() - coloquei ai, vou por na on connect e ver

Edit: se ponho na PlayerConnect, compila mas nada acontece. Estou usando o codigo assim:

pawn Код:
public OnGameModeInit()
{
    SetGameModeText("CopS and RobberS");
    //Cops
    AddPlayerClass(280, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(281, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(282, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(283, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(284, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(288, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    //Civis
    AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(4, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(6, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(7, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(15, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}
pawn Код:
public OnPlayerConnect(playerid)
{
    //Cops
    AddPlayerClass(280, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "LSPD", 500, 3);
    AddPlayerClass(281, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "LSPD", 500, 3);
    AddPlayerClass(282, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "LSPD", 500, 3);
    AddPlayerClass(283, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "LSPD", 500, 3);
    AddPlayerClass(284, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "LSPD", 500, 3);
    AddPlayerClass(288, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "LSPD", 500, 3);
    //Civis
    GameTextForPlayer(playerid, "Civil", 500, 3);
    AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "Civil", 500, 3);
    AddPlayerClass(4, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "Civil", 500, 3);
    AddPlayerClass(6, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "Civil", 500, 3);
    AddPlayerClass(7, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "Civil", 500, 3);
    AddPlayerClass(15, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "Civil", 500, 3);
    AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    GameTextForPlayer(playerid, "Civil", 500, 3);
    return 1;
}
Reply


Messages In This Thread
[Ajuda]Denovo, ajuda rapida - by Felipe_Wesker - 26.04.2012, 22:50
Re: [Ajuda]Denovo, ajuda rapida - by ViniBorn - 26.04.2012, 23:08
Re: [Ajuda]Denovo, ajuda rapida - by Felipe_Wesker - 26.04.2012, 23:19
Re: [Ajuda]Denovo, ajuda rapida - by Joker_OutLock - 26.04.2012, 23:21
Re: [Ajuda]Denovo, ajuda rapida - by ViniBorn - 26.04.2012, 23:25
Re: [Ajuda]Denovo, ajuda rapida - by Felipe_Wesker - 26.04.2012, 23:31
Re: [Ajuda]Denovo, ajuda rapida - by ViniBorn - 27.04.2012, 00:18
Re: [Ajuda]Denovo, ajuda rapida - by Caio_Freeze - 27.04.2012, 00:24
Re: [Ajuda]Denovo, ajuda rapida - by Felipe_Wesker - 27.04.2012, 00:44
Re: [Ajuda]Denovo, ajuda rapida - by ViniBorn - 27.04.2012, 00:50

Forum Jump:


Users browsing this thread: 3 Guest(s)