[Ajuda] 3 Errors
#4

Quote:
Originally Posted by humildadeforever
Посмотреть сообщение
Tenta
pawn Код:
enum OInfo
{
    ModelID,
    ObjectID[MAX_PLAYERS],
    Float:ox,
    Float:oy,
    Float:oz,
    Float:orx,
    Float:ory,
    Float:orz,
    Float:ovdist,
    bool:ObjectCreated[MAX_PLAYERS]
};

EDIT: Se nгo der, poste o que tem em cima da enum!
Se Passo a mesma coisa que tem , ja

Encima do Enum tem isso :

pawn Код:
new pban[MAX_PLAYERS];
new v[6];
new shifthour;
new cdivulgar[MAX_PLAYERS];
//================================================//
new tempo
//==============[STREAMER DE OBJETOS]=============//
/*
native Thiago_CreateObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:vdist=0.0);  //creates an object.
native Thiago_DestroyObject(objectid);                                                                          //destroys an object.
native Thiago_PlayerObjectUpdate(playerid, Float:x, Float:y, Float:z);                                          //update objects for a player in a certain position.
native Thiago_MoveObject(objectid, Float:x, Float:y, Float:z, Float:speed);                                     //moves an object.
native Thiago_StopObject(objectid);                                                                             //stops an object from moving.
native Thiago_IsValidObject(objectid);                                                                          //returns 1 if object is valid, returns 0 if object is invalid.
native Thiago_SetObjectPos(objectid, Float:x, Float:y, Float:z);                                                //sets the position of an object.
native Thiago_GetObjectPos(objectid, &Float:x, &Float:y, &Float:z);                                             //gets the position of an object in x, y and z.
native Thiago_SetObjectRot(objectid, Float:rx, Float:ry, Float:rz);                                             //sets the rotation of an object.
native Thiago_GetObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz);                                          //gets the rotation of an object in rx, ry and rz.
native Thiago_RefreshObjects(playerid);                                                                         //recreates (refreshes) a certain player's objects. (useful to recreate broken objects like glass, boxes, barrels, ...)
native Thiago_ObjectUpdateForAll();                                                                             //instantly updates the objects for all players.
*/

//Configuration//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//the player's object view range, doesn't need to be changed because objects only start showing at 350 distance.
//#pragma dynamic               30000   //increse value if you have problems with stach/heap size.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
enum OInfo
Quote:
Originally Posted by whiXґ
Посмотреть сообщение
Coloque isso " }; " no final do seu enum sem aspas.
Deu 18 Errors '-'
Reply


Messages In This Thread
[Ajuda] 3 Errors - by Laercio - 01.11.2011, 15:06
Re: [Ajuda] 3 Errors - by humildadeforever - 01.11.2011, 15:17
Re: [Ajuda] 3 Errors - by whiXґ - 01.11.2011, 15:19
Re: [Ajuda] 3 Errors - by Laercio - 01.11.2011, 16:37
Re: [Ajuda] 3 Errors - by WLSF - 01.11.2011, 16:47
Re: [Ajuda] 3 Errors - by Laercio - 01.11.2011, 16:54
Re: [Ajuda] 3 Errors - by WLSF - 01.11.2011, 16:56
Re: [Ajuda] 3 Errors - by Laercio - 01.11.2011, 17:05

Forum Jump:


Users browsing this thread: 3 Guest(s)