[Ajuda]gm
#1

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
Reply
#2

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;
}
Reply
#3

apague SetGameModeText e tente !
Reply
#4

+ reputation pa tu pedro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)