21.05.2013, 15:43
you are checking your params in a wrong syntax!
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
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);
