PDA

View Full Version : Help me error 029: invalid expression, assumed zero


HellixBG
19/06/2017, 08:52 AM
if(strcmp(cmd, "/fresh", true, 10) == 0
{
PlayAudioStreamForPlayer(playerid, "http://193.108.24.21:8000/fresh");
SendClientMessage(playerid, 0x33CCFFAA, "SERVER: {00FF00}Свързваме те към радио Fresh");
SendClientMessage(playerid, 0x33CCFFAA, "SERVER: {00FF00}За да спреш радиото напиши /stopradio");
return 1;
}

Thats is the command. I get error at { please help me

SonnyGamer
19/06/2017, 08:59 AM
Try now:

if(strcmp(cmd, "/fresh", true, 10) == 0)
{
PlayAudioStreamForPlayer(playerid, "http://193.108.24.21:8000/fresh");
SendClientMessage(playerid, 0x33CCFFAA, "SERVER: {00FF00}Свързваме те към радио Fresh");
SendClientMessage(playerid, 0x33CCFFAA, "SERVER: {00FF00}За да спреш радиото напиши /stopradio");
return 1;
}

HellixBG
19/06/2017, 08:59 AM
if(strcmp(cmd, "/fresh", true, 10) == 0)
{
PlayAudioStreamForPlayer(playerid, "http://193.108.24.21:8000/fresh");
SendClientMessage(playerid, 0x33CCFFAA, "SERVER: {00FF00}Свързваме те към радио Fresh");
SendClientMessage(playerid, 0x33CCFFAA, "SERVER: {00FF00}За да спреш радиото напиши /stopradio");
return 1;
}

Thanks!

Admins please lock the post