29.06.2015, 12:06
Test This.
Код:
if (strcmp(cmd, "/criarpickup", true) == 0) { new PickupModelo, Float: x, Float: y, Float: z, PickupTipo, params; for (new i; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { if (PlayerInfo[playerid][pAdmin] == 3000) { if (sscanf(params, "ifffi", PickupModelo, x, y, z, PickupTipo)) SendClientMessage(playerid, 0xFF0000AA, "Digite: \"/criarpick <PickupModelo> <x> <y> <z> <PickupTipo>\""); else { PickID = CreatePickup(PickupModelo, PickupTipo, x, y, z, -1); } } else return 0; } else return 0; } return 1; }