Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Использваниe pawn-requests

Авг
117
130
Активный
с гитхаба (y)

RequestJSON( client, "post", HTTP_METHOD_POST, "OnPostJson", JsonObject( "playerName", JsonString("Southclaws"), "kills", JsonInt(5), "topThreeWeapons", JsonArray( JsonString("M4"), JsonString("MP5"), JsonString("Desert Eagle") ) ), .headers = RequestHeaders() ); public OnPostJson(Request:id, E_HTTP_STATUS:status, Node:node) { if(status == HTTP_STATUS_CREATED) { printf("successfully posted JSON!"); } }
 
Сверху