SA-MP Forums Archive
[Ajuda]gm - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda]gm (/showthread.php?tid=297906)



[Ajuda]gm - viniciusmcf - 18.11.2011

galera fiz este codigo:

pawn code:
SetGameModeText("Clan Ud");
AddPlayerClass(0,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(1,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(2,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(3,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(4,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(5,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(6,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(7,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(8,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(9,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(10,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(11,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(12,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(13,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(14,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(15,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(16,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(17,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(18,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(19,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(20,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(21,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(22,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(23,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(24,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(25,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(26,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(27,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(28,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(29,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
AddPlayerClass(30,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
return 1;
}
so q esta dando isso aki:

C:\Users\Vinicius\Desktop\srv gta\gamemodes\Ud.pwn(13) : error 021: symbol already defined: "SetGameModeText"
C:\Users\Vinicius\Desktop\srv gta\gamemodes\Ud.pwn(45) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


q q eu fasso


Re: [Ajuda]gm - Jason` - 18.11.2011

Colocou assim? (Quando digo assim digo dentro da public)

pawn Код:
public OnGameModeInit()
{
    SetGameModeText("Clan Ud");
    AddPlayerClass(0,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(1,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(2,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(3,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(4,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(5,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(6,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(7,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(8,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(9,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(10,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(11,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(12,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(13,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(14,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(15,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(16,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(17,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(18,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(19,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(20,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(21,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(22,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(23,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(24,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(25,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(26,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(27,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(28,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(29,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    AddPlayerClass(30,-307.1720,1539.1838,78.1214,189.8381,0,0,0,0,0,0);
    return 1;
}



Respuesta: [Ajuda]gm - chapa - 18.11.2011

apague SetGameModeText e tente !


Re: [Ajuda]gm - viniciusmcf - 18.11.2011

+ reputation pa tu pedro