01.11.2011, 16:37
Quote:
Tenta
pawn Код:
EDIT: Se nгo der, poste o que tem em cima da enum! |
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