Untitled
public text v1 · immutable if (strcmp(cmdtext, "/setfee ", true,8) == 0) {
new strName[MAX_PLAYER_NAME];
new str[STR_LEN] = "";
strName = ReadPlayerName(playerid);
gTaxiFee[playerid] = cmdtext[8];
new fee = gTaxiFee[playerid];
format(str, STR_LEN, "LS Taxi Service: %s changed his fee to: %d", strName, fee);
SendClientMessageToAll(COLOR_YELLOW, str);
return 1;
}