Errors in setalaram Command
#2

you are checking your params in a wrong syntax!
pawn Код:
new giveplayerid;
if(sscanf(params, "u", giveplayerid) {
//code between brackets
}

// before formatting your string you need to index
new number = strvalEx(tmp), string[256];
HouseInfo[housekey][pPnumber] = number;
format(string, sizeof(string), "* Alarm System has been configured to send notifications to phone number %d", number);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
btw use [ pawn] and [ /pawn] without space next time to line out your code better, this must fix some of your errors, i watched globally, let's see what errors you have left and what code is on what line with what error
Reply


Messages In This Thread
Errors in setalaram Command - by chuck100 - 20.05.2013, 16:38
Re: Errors in setalaram Command - by jordy.kiesebrink - 21.05.2013, 15:43
Re: Errors in setalaram Command - by Pottus - 21.05.2013, 15:45
Re: Errors in setalaram Command - by jordy.kiesebrink - 21.05.2013, 15:50
Re: Errors in setalaram Command - by Pottus - 21.05.2013, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)