22.02.2010, 20:15
So I want that when a player says / menu1 receive life, not full life!
And another thing,how to make when a player don't have $100 can not buy!
Код:
if (PlayerToPoint (2.0, playerid, 1215.5399, -906.5798,42.4896)) if (strcmp ( "/ menu1" cmdtext, true, 10) == 0) ( GivePlayerMoney (playerid, -100); 176 GetPlayerHealth (playerid, 30); SendClientMessage (playerid, 0xAA3333AA, "You bought a Coca-Cola, a sandwich and French fries."); return 1;
Код:
(176): error 035: argument type mismatch (argument 2)