CMD:live(playerid, o[])
{
new giveplayerid;
if(PlayerInfo[playerid][pMember] != 9 || PlayerInfo[playerid][pLeader] != 9) return SendClientMessage(playerid, COLOR_GREY, "You are not News Reporter");
if(PlayerInfo[playerid][pNewsSkill] < 50) return SendClientMessage(playerid, COLOR_GREY, "Your News Reporter Skill is to low to talk Live with people !");
if(sscanf(o,"u", giveplayerid)) return SendClientMessage(playerid, COLOR_GREY,"USAGE: /live [playerid/PartOfName]");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY," Invalid ID/Name");
if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GREY, "You cannot Talk Live with yourself!");
if(TalkingLive[playerid] != 255)
{
SendClientMessage(playerid, COLOR_WHITE, "* Live Conversation ended.");
SendClientMessage(TalkingLive[playerid], COLOR_WHITE, "* Live Conversation ended.");
TogglePlayerControllable(playerid, 1);
TogglePlayerControllable(TalkingLive[playerid], 1);
TalkingLive[TalkingLive[playerid]] = 255;
TalkingLive[playerid] = 255;
return 1;
}
if(!ProxDetectorS(5.0, playerid, giveplayerid)) return SendClientMessage(playerid, COLOR_GREY,"You are too far away from that player");
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "* You offered %s to have a Live Conversation.", giveplayer);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "* %s offered you to have a Live Conversation, type (/accept live) to accept.", sendername);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
LiveOffer[giveplayerid] = playerid;
return 1;
}
CMD:kosactrave(playerid,params[]) { if(IsPlayerInRangeOfPoint(playerid, 4.0, 1808.4081,-1435.0905,13.4297)) { // i need this,if player doesent have a job,then { // i need this,if player doesent have a job,then employ him.. SendClientMessage(playerid,-1,""CRVENA"Cestitamo: "ZUTA"Uspjesno ste se zaposlili kao "ZELENA"Kosac Trave") } else SendClientMessage(playerid,-1,""CRVENA"Error: "ZUTA"Vec ste zaposleni");// You are already employed } else SendClientMessage(playerid,-1,""CRVENA"Error: "ZUTA"Niste blizu mjesta za zaposljavanje.") // It says you are not near place for employment return 1; }
enum hInfo
{
Float:hEntrancex,
Float:hEntrancey,
Float:hEntrancez,
Float:hExitx,
Float:hExity,
Float:hExitz,
hOwner[MAX_PLAYER_NAME],
hDiscription[MAX_PLAYER_NAME],
hValue,
hDate,
hLevel,
hWorld,
hOutWorld,
hOutInt,
};
forward LoadGangs(); public LoadGangs() { printf("Loading Gangs..."); for(new i = 1; i < MAX_GANGS; i++) { format(GangStat[i][GangFile], 60, "Gangs/Gang %d.ini", i); if(INI_Open(GangStat[i][GangFile])) { INI_String(GangStat[i][Leader],"Leader",60); INI_String(GangStat[i][GangName],"Name",60); INI_String(GangStat[i][MOTD],"MOTD", 128); INI_String(GangStat[i][Rank1],"Rank1",60); INI_String(GangStat[i][Rank2],"Rank2",60); INI_String(GangStat[i][Rank3],"Rank3",60); INI_String(GangStat[i][Rank4],"Rank4",60); INI_String(GangStat[i][Rank5],"Rank5",60); INI_String(GangStat[i][Rank6],"Rank6",60); GangStat[i][Skin1] = INI_Int("Skin1"); GangStat[i][Skin2] = INI_Int("Skin2"); GangStat[i][Skin3] = INI_Int("Skin3"); GangStat[i][Skin4] = INI_Int("Skin4"); GangStat[i][Skin5] = INI_Int("Skin5"); GangStat[i][Skin6] = INI_Int("Skin6"); GangStat[i][fSkin] = INI_Int("fSkin"); GangStat[i][Members] = INI_Int("Members"); GangStat[i][Color] = INI_Int("Color"); INI_Save(); INI_Close(); } } printf("Gangs Loaded."); return 1; } stock SaveGang(gangid) { format(GangStat[gangid][GangFile], 20, "Gangs/Gang %d.ini", gangid); if(INI_Open(GangStat[gangid][GangFile])) { INI_WriteString("Leader", GangStat[gangid][Leader]); INI_WriteString("Name", GangStat[gangid][GangName]); INI_WriteString("MOTD", GangStat[gangid][MOTD]); INI_WriteString("Rank1", GangStat[gangid][Rank1]); INI_WriteString("Rank2", GangStat[gangid][Rank2]); INI_WriteString("Rank3", GangStat[gangid][Rank3]); INI_WriteString("Rank4", GangStat[gangid][Rank4]); INI_WriteString("Rank5", GangStat[gangid][Rank5]); INI_WriteString("Rank6", GangStat[gangid][Rank6]); INI_WriteInt("Skin1", GangStat[gangid][Skin1]); INI_WriteInt("Skin2", GangStat[gangid][Skin2]); INI_WriteInt("Skin3", GangStat[gangid][Skin3]); INI_WriteInt("Skin4", GangStat[gangid][Skin4]); INI_WriteInt("Skin5", GangStat[gangid][Skin5]); INI_WriteInt("Skin6", GangStat[gangid][Skin6]); INI_WriteInt("fSkin", GangStat[gangid][fSkin]); INI_WriteInt("Members", GangStat[gangid][Members]); INI_WriteInt("Color", GangStat[gangid][Color]); INI_Save(); INI_Close(); } return 1; }
I'm lookin for this yellow light on the back of the car, cannot find it??
http://www.*******.com/user/luckyclo.../0/vcLZLTJ2_I8 |
C:\DOCUME~1\SANDER~1\Desktop\THE_EC~1.8\GAMEMO~1\TE.pwn(17320) : error 010: invalid function or declaration
C:\DOCUME~1\SANDER~1\Desktop\THE_EC~1.8\GAMEMO~1\TE.pwn(17323) : error 021: symbol already defined: "SetPlayerSkin"
C:\DOCUME~1\SANDER~1\Desktop\THE_EC~1.8\GAMEMO~1\TE.pwn(17325) : error 021: symbol already defined: "GivePlayerWeapon"
C:\DOCUME~1\SANDER~1\Desktop\THE_EC~1.8\GAMEMO~1\TE.pwn(17328) : error 010: invalid function or declaration
C:\DOCUME~1\SANDER~1\Desktop\THE_EC~1.8\GAMEMO~1\TE.pwn(17335) : warning 203: symbol is never used: "CopSkinsL1"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.