#1

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

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

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

That what's proxdetector for.

https://sampwiki.blast.hk/wiki/Errors_Li...se_indentation
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)