19.03.2010, 19:02
i want change the GameText to SendClientMessage, but i get a warning
"number of arguments does not match definition"
this is my code anyone can help me? thx for help.
"number of arguments does not match definition"
this is my code anyone can help me? thx for help.
Код:
//format(string, sizeof(string), "~w~You can Rent this bike~n~Cost:~g~$%d~n~~w~To rent type ~g~/rentbike~w~~n~to get out type ~r~/exit",SBizzInfo[0][sbEntranceCost]); SendClientMessage(playerid, COLOR_WHITE, " You can Rent this bike cost $%d",SBizzInfo[0][sbEntranceCost]); SendClientMessage(playerid, COLOR_WHITE, " /rentbike or /exit "); TogglePlayerControllable(playerid, 0); //GameTextForPlayer(playerid, string, 5000, 3);