SA-MP Forums Archive
Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error (/showthread.php?tid=420391)



Error - Luke-Paul - 04.03.2013

C:\Users\Luke\Desktop\Horizon Roleplay\gamemode\HRP91.pwn(46019) : error 029: invalid expression, assumed zero
C:\Users\Luke\Desktop\Horizon Roleplay\gamemode\HRP91.pwn(46020) : warning 217: loose indentation

this is for SA News Chat And When Just talk Normaly no Faction


When Sa News Talks Without Being Live They Say this

Live News Reporter %s: %s

Also i need Both Fixed


if(TalkingLive[playerid] != INVALID_PLAYER_ID) {
if(PlayerInfo[playerid][pFaction] == 9 || PlayerInfo[playerid][pLeader] == 9) {
format(string, sizeof(string), "Live News Reporter %s: %s", GetPlayerNameEx(playerid), text);
ICNews(COLOR_LIGHTGREEN,string);
} else {
format(string, sizeof(string), "%s says: (( %s ))", GetPlayerNameEx(playerid),;
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5);
return 1;


Re: Error - Misiur - 04.03.2013

pawn Код:
format(string, sizeof(string), "%s says: (( %s ))", GetPlayerNameEx(playerid),;
//to
format(string, sizeof(string), "%s says: (( %s ))", GetPlayerNameEx(playerid), text);



Re: Error - Luke-Paul - 04.03.2013

New Error warning 217: loose indentation

Line is

ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5);

i want it so if people are in A Raids Of 20 They Will hear him


Re: Error - Misiur - 04.03.2013

That what's proxdetector for.

https://sampwiki.blast.hk/wiki/Errors_Li...se_indentation


Re: Error - Luke-Paul - 04.03.2013

Well That is my /b code and /b is Near a Player So Whats Wrong with this one