30.03.2018, 09:11
Quote:
Код:
function BanCheck(playerid) { // blabla if(gettime < unbantime) { new type[20], unbantime; // load cache mysql & unbantime format(type, sizeof(type) "%s", (unbantime == 0) ? ("Permanent") : ("unbantime")); // this code make crash // blbla new string[128]; format(string, sizeof(string), "Banned Type: %s", type); // this will show text from type // blabla } return 1; } |
Quote:
Firstly, when you want to insert a string into a formatting string (I don't know how to explain that), you need to put only 2 parenthesis. Since my English is so bad, I'll show what's wrong here.
PHP код:
|